Ver código fonte

ignore resize observer error sent to sentry (#1222)

Klaudiusz Dembler 3 anos atrás
pai
commit
b49cba18d7
1 arquivos alterados com 4 adições e 1 exclusões
  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
   }