Skip to content

Commit

Permalink
More Sentry Testing (#784)
Browse files Browse the repository at this point in the history
dcb6 authored May 3, 2024
1 parent 11f3c20 commit 7b295c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion servers/fdr/src/server.ts
Original file line number Diff line number Diff line change
@@ -39,7 +39,8 @@ Sentry.init({
profilesSampleRate: 1.0,
environment: process?.env.NEXT_PUBLIC_APPLICATION_ENVIRONMENT ?? "dev",
maxValueLength: 1000,
enabled: process.env.NODE_ENV === "production", // Do not enable sentry when running local
// enabled: process.env.NODE_ENV === "production", // Do not enable sentry when running local
debug: true,
});

// The request handler must be the first middleware on the app

0 comments on commit 7b295c9

Please sign in to comment.