From f691a29240cd0ae16f013c35fc837961fa451fe7 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 10 Dec 2019 12:02:45 +0000 Subject: [PATCH] Ensure AbortErrors have a zero status (#6839) --- ui-v2/app/adapters/http.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-v2/app/adapters/http.js b/ui-v2/app/adapters/http.js index 6635d53270..ff459bfaaa 100644 --- a/ui-v2/app/adapters/http.js +++ b/ui-v2/app/adapters/http.js @@ -65,6 +65,7 @@ export default Adapter.extend({ switch (err.statusCode) { case 0: error = new AbortError(); + error.errors[0].status = '0'; break; case 401: error = new UnauthorizedError(errors, detailedMessage);