refs #4823 Minor changes
This commit is contained in:
parent
acebc9a89f
commit
d9968a7115
2
utils.js
2
utils.js
|
@ -552,8 +552,10 @@ export async function vnRequest(method, url, data, headers, spinner) {
|
|||
switch (err.code) {
|
||||
case 'ECONNRESET': // Client network socket TLS
|
||||
case 'EAI_AGAIN': // getaddrinfo
|
||||
if (spinner) spinner.warn();
|
||||
warning(err);
|
||||
await sleep(1000);
|
||||
if (spinner) spinner.start();
|
||||
break;
|
||||
case 'ECONNABORTED':
|
||||
case 'ECONNREFUSED':
|
||||
|
|
Loading…
Reference in New Issue