fix(compiler-cli): modified ngc to throw all errors, not just syntax (#18388)

This commit is contained in:
Abhimanyu Deora 2017-08-03 13:10:47 -05:00 committed by Victor Berchet
parent 1dca575701
commit 5651e4ac72
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ export function performCompilation(
consoleError(e.message); consoleError(e.message);
return 1; return 1;
} }
throw e;
} }
return 0; return 0;