Fix that Service Unavailable error is not displayed
This commit is contained in:
parent
6104cd7f55
commit
f63fa7fff9
|
@ -54,6 +54,7 @@ const formatResult = result => {
|
|||
|
||||
if (result.status === 0) resultData.statusText = "Network Error";
|
||||
else if (result.status === 200) resultData.statusText = "OK";
|
||||
else if (result.status === 429) resultData.statusText = "Service Unavailable";
|
||||
else if (result.status === 503) resultData.statusText = "Service Unavailable";
|
||||
else resultData.statusText = result.statusText || result.status;
|
||||
|
||||
|
|
Loading…
Reference in a new issue