[NoTrack] Disable console setting (temp)
This commit is contained in:
parent
936ee08616
commit
e3cfc8dcdc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ if ('<notrack>' === 'true') { // Disable sentry
|
||||||
try {
|
try {
|
||||||
window.__SENTRY__.hub.getClient().getOptions().enabled = false;
|
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 { }
|
} catch { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue