Add telemtery cli arg

This commit is contained in:
Andras Schmelczer 2025-11-18 22:17:34 +00:00
commit 3729778b12
3 changed files with 13 additions and 3 deletions

View file

@ -26,6 +26,8 @@ export const setUpTelemetry = (): (() => void) => {
return (): void => {
window.removeEventListener("error", onError);
window.removeEventListener("unhandledrejection", onUnhandledRejection);
Sentry.close(5000);
Sentry.close(5000).catch(() => {
// Ignore errors during shutdown
});
};
};