Merge branch 'main' of github.com:replayio/bolt

This commit is contained in:
Brian Hackett 2025-02-28 07:06:44 -08:00
commit ed5d7a81d9

View File

@ -1,4 +1,4 @@
import { captureRemixErrorBoundaryError } from '@sentry/remix';
import { sentryHandleError } from '~/lib/sentry';
import { useStore } from '@nanostores/react';
import type { LinksFunction } from '@remix-run/cloudflare';
import { Links, Meta, Outlet, Scripts, ScrollRestoration, useRouteError } from '@remix-run/react';
@ -83,7 +83,7 @@ import { logStore } from './lib/stores/logs';
export const ErrorBoundary = () => {
const error = useRouteError();
captureRemixErrorBoundaryError(error);
sentryHandleError(error as Error);
return <div>Something went wrong</div>;
};