🔧 Simplify error handling in healthCheck function by removing unused error parameter

This commit is contained in:
2026-01-28 05:26:53 +00:00
parent 2d28f30578
commit c8194b3083

View File

@@ -168,7 +168,7 @@ async function healthCheck(host, port, retries = 5) {
}); });
}); });
return true; return true;
} catch (error) { } catch {
if (i < retries - 1) { if (i < retries - 1) {
console.log( console.log(
`⏳ Health check attempt ${i + 1}/${retries} failed, retrying in 3s...` `⏳ Health check attempt ${i + 1}/${retries} failed, retrying in 3s...`