mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update server.py
This commit is contained in:
parent
bf8635c8b7
commit
1a65c9fdb8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user