Fix TCP error messages

This commit is contained in:
Kierre
2025-11-08 20:19:40 -05:00
parent a0a69e96dc
commit 7a67279c26
+2 -2
View File
@@ -80,14 +80,14 @@ def tcp_ping(service):
handle_service_status(
service_name=name,
down=True,
error=f"[E] Connection to {host}:{port} timed out",
error=f"Connection to {name} timed out",
)
except Exception as err:
handle_service_status(
service_name=name,
down=True,
error=f"[E] Connection error: {err}",
error=str(err),
)
time.sleep(config["pinging"]["seconds_between_ping"])