about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index cd4a0a7..93709f6 100644
--- a/main.py
+++ b/main.py
@@ -216,8 +216,8 @@ class HTTPServer:
                 time.sleep(0.005)
             except ssl.SSLEOFError:
                 break
-            except OSError as e:
-                print(f"Client dropped due to: {e}")
+            except OSError:
+                print(f"Client dropped due to: {traceback.format_exc()}")
                 break
         return None