From 68a04cfcf17cd334cb02ef64d1707b66ce94912f Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 5 Sep 2024 09:04:32 -0500 Subject: [PATCH] fix catch error --- stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats.js b/stats.js index 21c52f6..afaf563 100644 --- a/stats.js +++ b/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);