From 836e23abf5eba65aa31fe1ae95ba84bbb648d660 Mon Sep 17 00:00:00 2001 From: Dan Burke Date: Thu, 2 May 2024 21:25:15 -0400 Subject: [PATCH] Revert Sentry Testing Endpoint (#787) --- servers/fdr/src/server.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/servers/fdr/src/server.ts b/servers/fdr/src/server.ts index b267c0db69..70f11edb37 100644 --- a/servers/fdr/src/server.ts +++ b/servers/fdr/src/server.ts @@ -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 @@ -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 {