refactor(compiler): change ngc error handling
Do not print stack trace for user errors Print stack trace for compiler internal errors
This commit is contained in:

committed by
Alex Rickabaugh

parent
75d1617b63
commit
9761db5ac2
@ -16,6 +16,8 @@ import NgOptions from './options';
|
||||
import {MetadataWriterHost, DecoratorDownlevelCompilerHost, TsickleCompilerHost} from './compiler_host';
|
||||
import {CliOptions} from './cli_options';
|
||||
|
||||
export {UserError} from './tsc';
|
||||
|
||||
export type CodegenExtension =
|
||||
(ngOptions: NgOptions, cliOptions: CliOptions, program: ts.Program, host: ts.CompilerHost) =>
|
||||
Promise<void>;
|
||||
|
Reference in New Issue
Block a user