Skip to content

Commit

Permalink
fix(@ngtools/webpack): show error stack on plugin
Browse files Browse the repository at this point in the history
Plugin errors do not show the stack, just the message. This makes it harder to debug errors as the single line message blends into loader errors.
  • Loading branch information
filipesilva authored and hansl committed Aug 21, 2017
1 parent 5459d37 commit 29988d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ngtools/webpack/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ export class AotPlugin implements Tapable {

cb();
}, (err: any) => {
compilation.errors.push(err);
compilation.errors.push(err.stack);
cb();
});
}
Expand Down

0 comments on commit 29988d5

Please sign in to comment.