chore: auto-commit from dashboard

This commit is contained in:
2026-03-03 20:17:07 +00:00
parent 19e253ec43
commit 006123a63b
3 changed files with 13 additions and 20 deletions

View File

@@ -94,7 +94,7 @@ def main():
try:
result = await asyncio.to_thread(run_heartbeat, config)
logger.info("Heartbeat: %s", result)
if result != "HEARTBEAT_OK":
if result and "HEARTBEAT_OK" not in result:
await _send_to_channel(hb_channel, result)
except Exception as exc:
logger.error("Heartbeat failed: %s", exc)