-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Core or SDK?
Core Sentry product
Which part? Which one?
Remix, Manual setup
Description
Regarding this page, I have a user who has expressed that without a check like:
else if (!isRouteErrorResponse(error)) {
in the code like:
export function handleError(
error: unknown,
{ request }: DataFunctionArgs
): void {
if (error instanceof Error) {
Sentry.captureRemixServerException(error, 'remix.server', request);
} else if (!isRouteErrorResponse(error)) {
Sentry.captureException(error);
}
}
The user gets extra errors in sentry which are due to 404s
Suggested Solution
Suggest the code snippet to address the extra errors thrown
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
No status