[NoTrack] Disable console setting (temp)

This commit is contained in:
Ducko 2022-06-10 10:54:23 +01:00
parent 936ee08616
commit e3cfc8dcdc
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ if ('<notrack>' === 'true') { // Disable sentry
try {
window.__SENTRY__.hub.getClient().getOptions().enabled = false;
Object.keys(console).forEach(x => console[x] = console[x].__sentry_original__ ?? console[x]);
// Object.keys(console).forEach(x => console[x] = console[x].__sentry_original__ ?? console[x]);
} catch { }
}