Merge pull request #3036 from overleaf/as-silence-sentry-errors

Silence some more expected/spurious frontend errors in Sentry

GitOrigin-RevId: e2ad049e83e53806b9233b51ae88288d16b36053
This commit is contained in:
Alasdair Smith 2020-07-22 09:56:50 +01:00 committed by Copybot
parent 0868d67d59
commit 4e18a81944

View file

@ -17,7 +17,14 @@ if (window.ExposedSettings.sentryDsn) {
ignoreErrors: [
// Ignore very noisy error
'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
/^Missing PDF/,
// 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
'ResizeObserver loop limit exceeded',
'ResizeObserver loop completed with undelivered notifications.'
],
beforeSend(event) {