[NoTrack] Revert last

This commit is contained in:
Ducko 2022-06-10 09:12:04 +01:00
parent 967229fea8
commit 936ee08616
1 changed files with 0 additions and 5 deletions

View File

@ -2,11 +2,6 @@ if ('<notrack>' === '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 { }
}