Temp fix for disabling Sentry
This commit is contained in:
parent
cbc7f7230a
commit
96873ccef7
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ import { definePluginSettings } from "@api/Settings";
|
|||
import { Devs } from "@utils/constants";
|
||||
import definePlugin, { OptionType } from "@utils/types";
|
||||
|
||||
// FIXME Do this without monkey patching maybe
|
||||
Object.defineProperty(window, "DiscordSentry", {
|
||||
configurable: true,
|
||||
set(v) { }
|
||||
});
|
||||
|
||||
const settings = definePluginSettings({
|
||||
disableAnalytics: {
|
||||
type: OptionType.BOOLEAN,
|
||||
|
|
Loading…
Reference in a new issue