diff --git a/src/utils/errors.ts b/src/utils/errors.ts index 6a699b4..e0b1549 100644 --- a/src/utils/errors.ts +++ b/src/utils/errors.ts @@ -10,9 +10,8 @@ declare const __GIT_VERSION__: string; const gitVersion: string = __GIT_VERSION__; -const ls = localStorage.getItem("settings.errorReporting"); -export const errorReporting = process.env.DISABLE_SENTRY !== "true" && - (ls === null || ls === "true"); +//const ls = localStorage.getItem("settings.errorReporting"); +export const errorReporting = false; export const messageOnErrorReport = localStorage.getItem("settings.messageOnErrorReport") === "true"; Sentry.init({