Merge pull request #650 from ajayyy/improvements

Improvements
This commit is contained in:
Ajay Ramachandran
2021-03-07 14:23:28 -05:00
committed by GitHub
5 changed files with 7 additions and 22 deletions

View File

@@ -290,7 +290,7 @@ class Utils {
let errorMessage = "";
const postFix = (responseText ? "\n\n" + responseText : "");
if([400, 429, 409, 502, 0].includes(statusCode)) {
if([400, 429, 409, 502, 503, 0].includes(statusCode)) {
//treat them the same
if (statusCode == 503) statusCode = 502;