From a362eb8a755c41abafaa4b43a65cbf2611279934 Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Thu, 27 Feb 2025 14:30:27 -0800 Subject: [PATCH] Sentry follow up fix --- app/root.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/root.tsx b/app/root.tsx index 24a6cfdf..593bc38e 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -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
Something went wrong
; };