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

This commit is contained in:
Nova Cat 2025-01-26 13:39:12 -08:00
parent 0e5d974900
commit 418fdf8daa

View file

@ -701,7 +701,8 @@ def session(connection, client, ip, isssl=False):
# Unknown command
cmd = text.split(" ")[0]
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
except ssl.SSLEOFError:
print("EOF occured...")
except Exception as ex:
print(traceback.format_exc())
cause = "" + str(ex)