mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Update buildtools, exit with code 1 in servefiles if a socket error occurs.
This commit is contained in:
parent
f7e84e30df
commit
a3b8489b8c
@ -1 +1 @@
|
||||
Subproject commit 29ab2234e7376807d154a2a06b5d3d49ad50f631
|
||||
Subproject commit 78acb42849b6d8316a2a9de52c4cc41b784d4508
|
@ -78,6 +78,8 @@ try:
|
||||
sock.close()
|
||||
except Exception as e:
|
||||
print("Error: " + str(e))
|
||||
server.shutdown()
|
||||
sys.exit(1)
|
||||
|
||||
print("Shutting down HTTP server...")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user