Skip to content

Commit

Permalink
Revert Sentry Testing Endpoint (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcb6 authored May 3, 2024
1 parent 7b295c9 commit 836e23a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions servers/fdr/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Sentry.init({
environment: process?.env.NEXT_PUBLIC_APPLICATION_ENVIRONMENT ?? "dev",
maxValueLength: 1000,
// 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
Expand All @@ -54,9 +53,6 @@ expressApp.use(compression());
expressApp.get("/health", (_req, res) => {
res.sendStatus(200);
});
expressApp.get("/debug-sentry", function mainHandler(req, res) {
throw new Error("Test sentry error!");
});
const app = new FdrApplication(config);

try {
Expand Down

0 comments on commit 836e23a

Please sign in to comment.