From 2fbc2cf05118bf2bb5f32733c27157afa1b4ff4a Mon Sep 17 00:00:00 2001 From: Jordyn Date: Sat, 14 Mar 2026 04:41:16 -0500 Subject: [PATCH] Fix BrokenPipeError Handling --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 595f590..68692e6 100755 --- a/main.py +++ b/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