Procházet zdrojové kódy

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

GitOrigin-RevId: 416f1cfbaf05bc83a5370d7f4fb125d6803268ce
Alf Eaton před 2 roky
rodič
revize
35a0501276

+ 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: [