Auto report group call errors to sentry (includes Missing RTC focus)

This commit is contained in:
Valere
2026-04-01 12:01:41 +02:00
parent bb7b2d1060
commit 993c848cea

View File

@@ -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<ErrorPageProps> = ({
});
}
useEffect(() => {
Sentry.captureException(error);
}, [error]);
return (
<FullScreenView>
<ErrorView