Fix develop build. Use console.warn instead of an undefined compilation object.
This commit is contained in:
@@ -714,8 +714,8 @@ module.exports = (env, argv) => {
|
||||
sourcemaps: {
|
||||
paths: "./webapp/bundles/**",
|
||||
},
|
||||
errorHandler: (err, invokeErr, compilation) => {
|
||||
compilation.warnings.push("Sentry CLI Plugin: " + err.message);
|
||||
errorHandler: (err) => {
|
||||
console.warn("Sentry CLI Plugin: " + err.message);
|
||||
console.log(`::warning title=Sentry error::${err.message}`);
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user