From e8f502073de0ba72ee958016a6c82062d38a92ec Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 17 Apr 2023 23:10:59 +0200 Subject: [PATCH] disable sentry for a bit; most errors are 404s anyway --- frontend/src/hooks.server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/hooks.server.ts b/frontend/src/hooks.server.ts index 2fa16c8..e073554 100644 --- a/frontend/src/hooks.server.ts +++ b/frontend/src/hooks.server.ts @@ -7,11 +7,11 @@ Sentry.init({ dsn: PRIVATE_SENTRY_DSN }); export const handleError = (({ error, event }) => { console.log(error); console.log(event); - const id = Sentry.captureException(error); + // const id = Sentry.captureException(error); return { message: "Internal server error", code: 500, - id, + //id, }; }) satisfies HandleServerError;