From 936ee08616715092915c172dac83241f2bc028e6 Mon Sep 17 00:00:00 2001 From: Oj Date: Fri, 10 Jun 2022 09:12:04 +0100 Subject: [PATCH] [NoTrack] Revert last --- src/mainWindow.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mainWindow.js b/src/mainWindow.js index ba04da5..6270d76 100644 --- a/src/mainWindow.js +++ b/src/mainWindow.js @@ -2,11 +2,6 @@ if ('' === 'true') { // Disable sentry try { window.__SENTRY__.hub.getClient().getOptions().enabled = false; - window.__SENTRY__.hub.getClient().close(); - window.__SENTRY__.hub.getScope().clear(); - - window.__SENTRY__.hub.addBreadcrumb = () => {}; - Object.keys(console).forEach(x => console[x] = console[x].__sentry_original__ ?? console[x]); } catch { } }