From 3df28092159a60ebd83e01ae016363c32d5a90c5 Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Fri, 25 Jun 2021 11:38:11 +0200 Subject: [PATCH] Fix debug mode --- next.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 1492e495..7030a394 100644 --- a/next.config.js +++ b/next.config.js @@ -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 };