Add telemtery cli arg
This commit is contained in:
parent
ffcdbac8e2
commit
3729778b12
3 changed files with 13 additions and 3 deletions
|
|
@ -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
|
||||
});
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue