Ignore missing PDF errors in Sentry error reporting (#6529)

GitOrigin-RevId: fc61a2499ec3e8ff95a7058aea65b9d41ed8bd62
This commit is contained in:
Alf Eaton 2022-02-04 09:23:37 +00:00 committed by Copybot
parent e73ad85d0e
commit 22e13d74f6

View file

@ -26,6 +26,7 @@ function sentryReporter() {
'SecurityError: Permission denied to access property "pathname" on cross-origin object', '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 // Ignore unhandled error that is "expected" - see https://github.com/overleaf/issues/issues/3321
/^Missing PDF/, /^Missing PDF/,
/^pdfng error Error: MissingPDFException/,
// Ignore "expected" error from aborted fetch - see https://github.com/overleaf/issues/issues/3321 // Ignore "expected" error from aborted fetch - see https://github.com/overleaf/issues/issues/3321
/^AbortError/, /^AbortError/,
// Ignore spurious error from Ace internals - see https://github.com/overleaf/issues/issues/3321 // Ignore spurious error from Ace internals - see https://github.com/overleaf/issues/issues/3321