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 { } }