diff --git a/lib/gui/app/modules/analytics.ts b/lib/gui/app/modules/analytics.ts index 264a8c4b34..4ccc4d670e 100644 --- a/lib/gui/app/modules/analytics.ts +++ b/lib/gui/app/modules/analytics.ts @@ -122,7 +122,11 @@ let analyticsClient: Client; export const initAnalytics = once(() => { const dsn = settings.getSync('analyticsSentryToken') || process.env.SENTRY_TOKEN; - SentryRenderer.init({ dsn, beforeSend: anonymizeSentryData }); + SentryRenderer.init({ + dsn, + beforeSend: anonymizeSentryData, + debug: process.env.ETCHER_SENTRY_DEBUG === 'true', + }); const projectName = settings.getSync('analyticsAmplitudeToken') || process.env.AMPLITUDE_TOKEN; diff --git a/lib/gui/etcher.ts b/lib/gui/etcher.ts index 6c5dc7b505..6dc3fe7748 100644 --- a/lib/gui/etcher.ts +++ b/lib/gui/etcher.ts @@ -121,6 +121,7 @@ const initSentryMain = once(() => { SentryMain.init({ dsn, beforeSend: anonymizeSentryData, + debug: process.env.ETCHER_SENTRY_DEBUG === 'true', }); console.log(SentryMain.getCurrentScope()); });