From ec8df4f03411a751e0ab1b577c5d6f44063a60da Mon Sep 17 00:00:00 2001 From: Victor Thomas <10986371+vthomas13@users.noreply.github.com> Date: Mon, 19 Aug 2024 14:40:08 -0400 Subject: [PATCH] fix e2e imports and debug cleanup --- app/scripts/lib/setupSentry.js | 2 -- ui/index.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/scripts/lib/setupSentry.js b/app/scripts/lib/setupSentry.js index 23e3fa25f51b..5a259319db2c 100644 --- a/app/scripts/lib/setupSentry.js +++ b/app/scripts/lib/setupSentry.js @@ -58,7 +58,6 @@ export default function setupSentry() { function getClientOptions() { const environment = getSentryEnvironment(); const sentryTarget = getSentryTarget(); - console.log('ManagementVT', browser.management); browser.management .getSelf() .then((extensionInfo) => { @@ -347,7 +346,6 @@ export function rewriteReport(report) { report.extra.extensionId = browser.runtime.id; } report.extra.installType = installType; - console.log('EXTRA:', report.extra); } catch (err) { log('Error rewriting report', err); } diff --git a/ui/index.js b/ui/index.js index 56362b31de68..7daf0ad28595 100644 --- a/ui/index.js +++ b/ui/index.js @@ -8,7 +8,7 @@ import browser from 'webextension-polyfill'; import { getEnvironmentType } from '../app/scripts/lib/util'; import { AlertTypes } from '../shared/constants/alerts'; import { maskObject } from '../shared/modules/object.utils'; -import { SENTRY_UI_STATE } from '../app/scripts/lib/setupSentry'; +import { SENTRY_UI_STATE } from '../app/scripts/constants/sentry-state'; import { ENVIRONMENT_TYPE_POPUP } from '../shared/constants/app'; import { COPY_OPTIONS } from '../shared/constants/copy'; import switchDirection from '../shared/lib/switch-direction';