fix catch error
This commit is contained in:
parent
d338bc14c1
commit
68a04cfcf1
1 changed files with 1 additions and 1 deletions
2
stats.js
2
stats.js
|
@ -51,7 +51,7 @@ async function observe(instances){
|
|||
}
|
||||
}catch{
|
||||
if(tries>3){
|
||||
setStatus(instance,req.ok);
|
||||
setStatus(instance,false);
|
||||
}else{
|
||||
setTimeout(30000,()=>{
|
||||
check(tries+1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue