Fix develop build. Use console.warn instead of an undefined compilation object.

This commit is contained in:
Florian Duros 2024-08-05 19:10:34 +02:00
parent 627377229c
commit 6e8f0f6f6d
No known key found for this signature in database
GPG key ID: A5BBB4041B493F15

View file

@ -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}`);
},
}),