Skip to content

Commit

Permalink
Disable Sentry locally
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduke committed Sep 24, 2024
1 parent e38d883 commit f356941
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sentry.client.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Sentry.init({

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: process.env.NODE_ENV !== "production",
enabled: process.env.NODE_ENV === "production",
});
1 change: 1 addition & 0 deletions sentry.edge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ Sentry.init({

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: process.env.NODE_ENV !== "production",
enabled: process.env.NODE_ENV === "production",
});
1 change: 1 addition & 0 deletions sentry.server.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ Sentry.init({

// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: process.env.NODE_ENV !== "production",
enabled: process.env.NODE_ENV === "production",
});

0 comments on commit f356941

Please sign in to comment.