Skip to content

Commit

Permalink
Show exception message while ng starts
Browse files Browse the repository at this point in the history
  • Loading branch information
rwoloszyn committed Jul 14, 2017
1 parent 962b028 commit 8183a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ngtools/webpack/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let version;
try {
version = require('@angular/compiler-cli').VERSION;
} catch (e) {
throw new Error('The "@angular/compiler-cli" package was not properly installed.');
throw new Error('The "@angular/compiler-cli" package was not properly installed. Error: ' + e);
}

// Check that Angular is also not part of this module's node_modules (it should be the project's).
Expand Down

0 comments on commit 8183a8d

Please sign in to comment.