Commit 55860184 authored by Philipp Nowinski's avatar Philipp Nowinski

[FEATURE] improve error message

parent d193b0dd
...@@ -162,7 +162,7 @@ module.exports = class Js extends Task { ...@@ -162,7 +162,7 @@ module.exports = class Js extends Task {
} }
bundler = bundler.bundle().on('error', (_error) => { bundler = bundler.bundle().on('error', (_error) => {
this._handleError(_error.message); this._handleError(_error.annotated);
}); });
if (this._config.jsPipeline.sourceMaps) { if (this._config.jsPipeline.sourceMaps) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment