Skip to content

Commit

Permalink
Disable debug if not dev
Browse files Browse the repository at this point in the history
  • Loading branch information
vanessa committed Nov 13, 2023
1 parent 0a0aa94 commit 16b09cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Sentry.WINDOW.document = {
};

Sentry.init({
debug: true,
debug: import.meta.env.DEV,
dsn: import.meta.env.VITE_SENTRY_DSN,
release: import.meta.env.VITE_COMMIT_SHA,
environment: import.meta.env.MODE,
Expand Down

0 comments on commit 16b09cf

Please sign in to comment.