Просмотр исходного кода

Filter out Angular iteration errors from Sentry reporting (#15751)

GitOrigin-RevId: 416f1cfbaf05bc83a5370d7f4fb125d6803268ce
Alf Eaton 2 лет назад
Родитель
Сommit
35a0501276
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      services/web/frontend/js/infrastructure/error-reporter.js

+ 2 - 0
services/web/frontend/js/infrastructure/error-reporter.js

@@ -40,6 +40,8 @@ function sentryReporter() {
             /Non-Error promise rejection captured with value: Object Not Found Matching Id/,
             // Ignore CM6 error until upgraded
             "Cannot read properties of undefined (reading 'length')",
+            // Ignore Angular digest iteration limit - see https://github.com/overleaf/internal/issues/15750
+            '10 $digest() iterations reached',
           ],
 
           denyUrls: [