diff --git a/src/main.ts b/src/main.ts index d93c099866..21c9e9a0d1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,7 +39,16 @@ Sentry.init({ integrations: [], tracesSampleRate: 0.1, release: environment.LIVE_UPDATE_APP_VERSION, - ignoreErrors: ['Non-Error exception captured', 'Non-Error promise rejection captured'], + ignoreErrors: [ + 'Non-Error exception captured', + 'Non-Error promise rejection captured', + 'unhandledError', // "title": "" + /Could not load "geocoder"/, // "title": "Error: Uncaught (in promise): Error: Could not load \"geocoder\".", + /ChunkLoadError: Loading chunk \d+ failed/, // "title": "Error: Uncaught (in promise): Error: The Google Maps JavaScript API could not load.", + /0 Unknown Error/, // "title": "" + /The Google Maps JavaScript API could not load/, // "title": "Error: Uncaught (in promise): Error: The Google Maps JavaScript API could not load." + /kCLErrorDomain error/, // "title": "Error: Uncaught (in promise): Error: The operation couldn’t be completed. (kCLErrorDomain error 1.)", + ], beforeSend(event) { cleanHttpExceptionUrlsForSentryGrouping(event); return event;