Skip to content

Commit 71693eb

Browse files
authored
stop double reporting errors to sentry (#2312)
1 parent fb59bfd commit 71693eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/webapp/app/entry.server.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,15 +173,15 @@ function handleBrowserRequest(
173173

174174
export const handleError = wrapHandleErrorWithSentry((error, { request }) => {
175175
if (request instanceof Request) {
176-
logger.error("Error in handleError", {
176+
logger.debug("Error in handleError", {
177177
error,
178178
request: {
179179
url: request.url,
180180
method: request.method,
181181
},
182182
});
183183
} else {
184-
logger.error("Error in handleError", {
184+
logger.debug("Error in handleError", {
185185
error,
186186
});
187187
}

0 commit comments

Comments
 (0)