From cc188d53255784dd3931f2b62a9bb3bbfe526513 Mon Sep 17 00:00:00 2001 From: nenadV91 Date: Wed, 22 Sep 2021 11:27:51 +0200 Subject: [PATCH] fix missing sentry dsn issue --- src/apps/explorer/ExplorerApp.tsx | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/explorer/ExplorerApp.tsx b/src/apps/explorer/ExplorerApp.tsx index 314caf9f1..a3e350373 100644 --- a/src/apps/explorer/ExplorerApp.tsx +++ b/src/apps/explorer/ExplorerApp.tsx @@ -27,7 +27,7 @@ const SENTRY_TRACES_SAMPLE_RATE = process.env.REACT_APP_SENTRY_TRACES_SAMPLE_RAT if (SENTRY_DSN) { Sentry.init({ - dsn: process.env.REACT_APP_SENTRY_DSN, + dsn: SENTRY_DSN, integrations: [new Integrations.BrowserTracing()], release: 'gp-explorer@v' + version, environment: environmentName, diff --git a/webpack.config.js b/webpack.config.js index 723713f7e..2eab130de 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -32,6 +32,7 @@ const EXPLORER_APP = { OPERATOR_URL_PROD_XDAI: 'https://protocol-xdai.gnosis.io/api', GOOGLE_ANALYTICS_ID: undefined, + REACT_APP_SENTRY_DSN: undefined, }, } const SAFE_SWAP_APP = {