From 8b06faa5b9c6698fa5e7b417c541b6b6737e81d1 Mon Sep 17 00:00:00 2001 From: Eric Allam Date: Thu, 24 Jul 2025 16:01:20 +0100 Subject: [PATCH] stop double reporting errors to sentry --- apps/webapp/app/entry.server.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webapp/app/entry.server.tsx b/apps/webapp/app/entry.server.tsx index 1c17c9baf2..0e37555cb0 100644 --- a/apps/webapp/app/entry.server.tsx +++ b/apps/webapp/app/entry.server.tsx @@ -173,7 +173,7 @@ function handleBrowserRequest( export const handleError = wrapHandleErrorWithSentry((error, { request }) => { if (request instanceof Request) { - logger.error("Error in handleError", { + logger.debug("Error in handleError", { error, request: { url: request.url, @@ -181,7 +181,7 @@ export const handleError = wrapHandleErrorWithSentry((error, { request }) => { }, }); } else { - logger.error("Error in handleError", { + logger.debug("Error in handleError", { error, }); }