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

pull/27901/head
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
1 changed files with 2 additions and 2 deletions

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