Added more errors to Sentry exclusion list

fix https://linear.app/tryghost/issue/SLO-165/add-more-errors-to-allowlist

- we don't want to capture Sentry errors for these because they are out
  of our control (like the user's internet connection dropping out)
This commit is contained in:
Daniel Lockyer 2024-06-26 12:36:32 +02:00 committed by Daniel Lockyer
parent e34c36007e
commit dd39576de0

View File

@ -185,6 +185,11 @@ export default Route.extend(ShortcutsRoute, {
release: `ghost@${this.config.version}`,
beforeSend,
ignoreErrors: [
// Network errors that we don't control
/Server was unreachable/,
/NetworkError when attempting to fetch resource./,
/Failed to fetch/,
/Load failed/,
// TransitionAborted errors surface from normal application behaviour
// - https://github.com/emberjs/ember.js/issues/12505
/^TransitionAborted$/,