From 6ba82b5e4a622cb7ddaa3948fd6e77355b677320 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 6 Dec 2025 15:44:31 -0600 Subject: [PATCH] Tag ErrorBoundaries as fatal in Sentry --- src/components/ErrorBoundary.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index d7db03c2..4d390a4d 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -100,11 +100,15 @@ export function ErrorBoundary({ const Sentry = getSentryInstance(); if (Sentry) { Sentry.captureException(error, { + level: 'fatal', // Mark as fatal/unhandled error (skull icon in Sentry UI) contexts: { react: { componentStack: info.componentStack, }, }, + tags: { + errorBoundary: 'true', // Tag to easily filter these errors + }, }); } }