From f9a6610823e9a7f8cde9a7c49327cb57b956d1a7 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 27 Jun 2024 11:51:15 +0200 Subject: [PATCH] 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 --- ghost/admin/app/routes/application.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ghost/admin/app/routes/application.js b/ghost/admin/app/routes/application.js index 6c05f8be48..5f7684c8f9 100644 --- a/ghost/admin/app/routes/application.js +++ b/ghost/admin/app/routes/application.js @@ -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$/,