fix(compiler-cli): modified ngc to throw all errors, not just syntax (#18388)
This commit is contained in:
parent
1dca575701
commit
5651e4ac72
|
@ -179,6 +179,7 @@ export function performCompilation(
|
||||||
consoleError(e.message);
|
consoleError(e.message);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue