Update server.py
Some checks failed
/ check (push) Failing after 14s

This commit is contained in:
Nova Cat 2025-01-26 11:05:52 -08:00
parent fd4dcae2c8
commit 7d211f7cf7

View file

@ -199,6 +199,7 @@ def pinger(nick, connection):
try:
connection.sendall(bytes(f"PING {server}\r\n","UTF-8"))
except Exception as ex:
print(traceback.format_exc)
property_list[nick]["cause"] = "Send error: " + str(ex)
print("SHUTTING DOWN FOR " + nick)
connection.shutdown(socket.SHUT_WR)