From 46a6027a4e1d8d98513820a9ff2bc5d4785a711c Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Fri, 10 Jul 2020 17:23:57 -0230 Subject: [PATCH] Remove isBrave Sentry flag (#8967) --- app/scripts/lib/setupSentry.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/scripts/lib/setupSentry.js b/app/scripts/lib/setupSentry.js index c41a4a5dc..91070ed67 100644 --- a/app/scripts/lib/setupSentry.js +++ b/app/scripts/lib/setupSentry.js @@ -10,8 +10,6 @@ const SENTRY_DSN_DEV = 'https://f59f3dd640d2429d9d0e2445a87ea8e1@sentry.io/27349 export default function setupSentry ({ release }) { let sentryTarget - // detect brave - const isBrave = Boolean(window.chrome.ipcRenderer) if (METAMASK_DEBUG || process.env.IN_TEST) { console.log(`Setting up Sentry Remote Error Reporting for '${METAMASK_ENVIRONMENT}': SENTRY_DSN_DEV`) @@ -33,10 +31,6 @@ export default function setupSentry ({ release }) { beforeSend: (report) => rewriteReport(report), }) - Sentry.configureScope((scope) => { - scope.setExtra('isBrave', isBrave) - }) - function rewriteReport (report) { try { // simplify certain complex error messages (e.g. Ethjs)