Small FE improvements

This commit is contained in:
Andras Schmelczer 2026-09-19 20:03:45 +01:00
commit f2326b846e

View file

@ -24,11 +24,13 @@ export const setUpTelemetry = (): (() => void) => {
}
});
};
window.addEventListener("error", onError);
const onUnhandledRejection = (event: PromiseRejectionEvent): void => {
Sentry.captureException(event.reason);
};
window.addEventListener("unhandledrejection", onUnhandledRejection);
return (): void => {