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