diff --git a/apps/arc-web/app/root.tsx b/apps/arc-web/app/root.tsx index 4374cdeb7..233720a20 100644 --- a/apps/arc-web/app/root.tsx +++ b/apps/arc-web/app/root.tsx @@ -72,8 +72,8 @@ export function ErrorBoundary({ error }: Route.ErrorBoundaryProps) { message = error.statusText || message; } } else if (error instanceof Error) { - message = error.message; if (import.meta.env.DEV) { + message = error.message; stack = error.stack; } }