From 5651e4ac7230eea611420f1a159fa73d44197a95 Mon Sep 17 00:00:00 2001 From: Abhimanyu Deora Date: Thu, 3 Aug 2017 13:10:47 -0500 Subject: [PATCH] fix(compiler-cli): modified ngc to throw all errors, not just syntax (#18388) --- packages/compiler-cli/src/ngc.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/compiler-cli/src/ngc.ts b/packages/compiler-cli/src/ngc.ts index 664727b4c5..e39757f865 100644 --- a/packages/compiler-cli/src/ngc.ts +++ b/packages/compiler-cli/src/ngc.ts @@ -179,6 +179,7 @@ export function performCompilation( consoleError(e.message); return 1; } + throw e; } return 0;