Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d74c89

Browse files
filipesilvahansl
authored andcommittedAug 25, 2017
fix(@ngtools/webpack): show error stack on plugin
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.
1 parent 668e6ca commit 8d74c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/@ngtools/webpack/src/plugin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export class AotPlugin implements Tapable {
579579

580580
cb();
581581
}, (err: any) => {
582-
compilation.errors.push(err);
582+
compilation.errors.push(err.stack);
583583
cb();
584584
});
585585
}

0 commit comments

Comments
 (0)
Please sign in to comment.