Skip to content

Commit

Permalink
Fix develop build. Use console.warn instead of an undefined `compil…
Browse files Browse the repository at this point in the history
…ation` object.
  • Loading branch information
florianduros committed Aug 5, 2024
1 parent 6273772 commit 6e8f0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
},
}),
Expand Down

0 comments on commit 6e8f0f6

Please sign in to comment.