From dc11bd98986677659797c4aceea4b6d49f3ff6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mime=20=C4=8Cuvalo?= Date: Thu, 2 Nov 2023 19:55:27 +0000 Subject: [PATCH] sentry: tweak console setting ruins stack traces --- sentry.client.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sentry.client.config.js b/sentry.client.config.js index 4f5a136c..38113760 100644 --- a/sentry.client.config.js +++ b/sentry.client.config.js @@ -14,4 +14,11 @@ Sentry.init({ // Note: if you want to override the automatic release value, do not set a // `release` value here - use the environment variable `SENTRY_RELEASE`, so // that it will also get attached to your source maps + + integrations: [ + new Sentry.Integrations.Breadcrumbs({ + // N.B. Disabled this option because it's garbage and ruins all console.log stack traces. + console: false, + }), + ], });