Update server.py

This commit is contained in:
Namhyeon Go 2024-10-19 16:22:46 +09:00 committed by GitHub
parent bf8635c8b7
commit 1a65c9fdb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -637,7 +637,7 @@ def start(): # Main Program
sock.bind(("", listening_port)) sock.bind(("", listening_port))
sock.listen(max_connection) sock.listen(max_connection)
logger.info("[*] Server started successfully [ %d ]" % listening_port) logger.warning("[*] Server started successfully [ %d ]" % listening_port)
except Exception as e: except Exception as e:
logger.error("[*] Unable to Initialize Socket", exc_info=e) logger.error("[*] Unable to Initialize Socket", exc_info=e)
sys.exit(2) sys.exit(2)