From c8194b3083194dc9958d2cea342b495e392c3269 Mon Sep 17 00:00:00 2001 From: FragginWagon Date: Wed, 28 Jan 2026 05:26:53 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Simplify=20error=20handling=20in?= =?UTF-8?q?=20healthCheck=20function=20by=20removing=20unused=20error=20pa?= =?UTF-8?q?rameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/utils/deploy-pokedex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index b75763e..259b592 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -168,7 +168,7 @@ async function healthCheck(host, port, retries = 5) { }); }); return true; - } catch (error) { + } catch { if (i < retries - 1) { console.log( `⏳ Health check attempt ${i + 1}/${retries} failed, retrying in 3s...`