From 993c848ceaed72e28f2ab127b16a118dd4481815 Mon Sep 17 00:00:00 2001 From: Valere Date: Wed, 1 Apr 2026 12:01:41 +0200 Subject: [PATCH] Auto report group call errors to sentry (includes Missing RTC focus) --- src/room/GroupCallErrorBoundary.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/room/GroupCallErrorBoundary.tsx b/src/room/GroupCallErrorBoundary.tsx index ca407ed4..750abcc3 100644 --- a/src/room/GroupCallErrorBoundary.tsx +++ b/src/room/GroupCallErrorBoundary.tsx @@ -13,7 +13,9 @@ import { type ReactNode, type SVGAttributes, useCallback, + useEffect, } from "react"; +import * as Sentry from "@sentry/react"; import { Trans, useTranslation } from "react-i18next"; import { ErrorSolidIcon, @@ -78,6 +80,10 @@ const ErrorPage: FC = ({ }); } + useEffect(() => { + Sentry.captureException(error); + }, [error]); + return (