Skip to content

Commit

Permalink
Fix debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Jun 25, 2021
1 parent 8fdc4ce commit 3df2809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const sentryWebpackPluginOptions = {
// XXX The error "Error: Cannot find module '/.next/server/sentry/initServerSDK.js'" in the console is a false-positive error
// See https://github.com/getsentry/sentry-docs/issues/3721

debug: process.env.NODE_ENV !== 'development', // You'll need to configure "debug" in sentry.x.config.js files as well
debug: process.env.NODE_ENV === 'development', // You'll need to configure "debug" in sentry.x.config.js files as well
silent: true, // Suppresses all logs, because "[Sentry Webpack Plugin]" logs are too noisy
};

Expand Down

0 comments on commit 3df2809

Please sign in to comment.