From 22e13d74f6217ebb8a3a8f0237baec0497ecef44 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 4 Feb 2022 09:23:37 +0000 Subject: [PATCH] Ignore missing PDF errors in Sentry error reporting (#6529) GitOrigin-RevId: fc61a2499ec3e8ff95a7058aea65b9d41ed8bd62 --- services/web/frontend/js/infrastructure/error-reporter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/frontend/js/infrastructure/error-reporter.js b/services/web/frontend/js/infrastructure/error-reporter.js index c63929d9c4..a5fac2cb29 100644 --- a/services/web/frontend/js/infrastructure/error-reporter.js +++ b/services/web/frontend/js/infrastructure/error-reporter.js @@ -26,6 +26,7 @@ function sentryReporter() { 'SecurityError: Permission denied to access property "pathname" on cross-origin object', // Ignore unhandled error that is "expected" - see https://github.com/overleaf/issues/issues/3321 /^Missing PDF/, + /^pdfng error Error: MissingPDFException/, // Ignore "expected" error from aborted fetch - see https://github.com/overleaf/issues/issues/3321 /^AbortError/, // Ignore spurious error from Ace internals - see https://github.com/overleaf/issues/issues/3321