We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 739d904 commit 0ee85eaCopy full SHA for 0ee85ea
packages/remix/src/client/errors.tsx
@@ -13,7 +13,7 @@ import type { ErrorResponse } from '../utils/vendor/types';
13
export function captureRemixErrorBoundaryError(error: unknown): string | undefined {
14
let eventId: string | undefined;
15
const isClientSideRuntimeError = !isNodeEnv() && error instanceof Error;
16
- const isRemixErrorResponse = isRouteErrorResponse(error);
+ const isRemixErrorResponse = isRouteErrorResponse(error) && error.status >= 500;
17
// Server-side errors apart from `ErrorResponse`s also appear here without their stacktraces.
18
// So, we only capture:
19
// 1. `ErrorResponse`s
0 commit comments