0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Added AbortError to list of excluded errors

fix https://linear.app/tryghost/issue/SLO-175/error-aborterror-the-operation-was-aborted

- this error can occur when a user's browser navigates away mid-request,
  which causes the request to be aborted. However, we don't control
  this, nor do we particularly care, so we can just ignore it
This commit is contained in:
Daniel Lockyer 2024-06-27 11:51:15 +02:00 committed by Daniel Lockyer
parent ad77cec008
commit f9a6610823

View file

@ -193,6 +193,8 @@ export default Route.extend(ShortcutsRoute, {
/NetworkError when attempting to fetch resource./,
/Failed to fetch/,
/Load failed/,
/The operation was aborted./,
// TransitionAborted errors surface from normal application behaviour
// - https://github.com/emberjs/ember.js/issues/12505
/^TransitionAborted$/,