Jelajahi Sumber

ignore resize observer error sent to sentry (#1222)

Klaudiusz Dembler 3 tahun lalu
induk
melakukan
b49cba18d7
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      src/utils/logs/sentry.ts

+ 4 - 1
src/utils/logs/sentry.ts

@@ -25,7 +25,10 @@ class _SentryLogger {
   initialize(DSN: string) {
     Sentry.init({
       dsn: DSN,
-      ignoreErrors: ['ResizeObserver loop limit exceeded'],
+      ignoreErrors: [
+        'ResizeObserver loop limit exceeded',
+        'ResizeObserver loop completed with undelivered notifications',
+      ],
     })
     this.initialized = true
   }