diff --git a/index.js b/index.js index fe6795e..3c2b2cb 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ app.listen(port, () => { return console.error('Failed to run heartbeat check', err); } if (!rows || rows.length === 0) { - return; // No missed heartbeats + return console.log("No hb missed"); // No missed heartbeats } rows.forEach(row => { console.log(`Server ${row.id} missed heartbeat check. Marking as inactive.`);