瀏覽代碼

ignore resize observer error sent to sentry (#1222)

Klaudiusz Dembler 3 年之前
父節點
當前提交
b49cba18d7
共有 1 個文件被更改,包括 4 次插入1 次删除
  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
   }