mirror of
https://github.com/a-bad-dev/irc2bash.git
synced 2026-06-08 16:42:10 +00:00
Fix BrokenPipeError Handling
This commit is contained in:
parent
0febb315c3
commit
2fbc2cf051
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
|
@ -119,7 +119,8 @@ class Server():
|
|||
except BrokenPipeError:
|
||||
# Can't use die because we have no connection... just quit I suppose
|
||||
self._going_down.set()
|
||||
|
||||
raise SystemExit(1)
|
||||
|
||||
print("[SENDTHREAD] Quitting due to thread condition!")
|
||||
|
||||
# This is the function used to process messages from the server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue