mirror of https://github.com/vector-im/riot-web
Fix develop build. Use `console.warn` instead of an undefined `compilation` object.
parent
627377229c
commit
6e8f0f6f6d
|
@ -714,8 +714,8 @@ module.exports = (env, argv) => {
|
||||||
sourcemaps: {
|
sourcemaps: {
|
||||||
paths: "./webapp/bundles/**",
|
paths: "./webapp/bundles/**",
|
||||||
},
|
},
|
||||||
errorHandler: (err, invokeErr, compilation) => {
|
errorHandler: (err) => {
|
||||||
compilation.warnings.push("Sentry CLI Plugin: " + err.message);
|
console.warn("Sentry CLI Plugin: " + err.message);
|
||||||
console.log(`::warning title=Sentry error::${err.message}`);
|
console.log(`::warning title=Sentry error::${err.message}`);
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue