From 284c3932dd1fa518265b1d63c76e52ab4c0d73fa Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 30 Jul 2024 02:07:29 +0000 Subject: [PATCH] Add a valid disconnect error --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 6c304d4..e0aa0e7 100755 --- a/server.py +++ b/server.py @@ -15,7 +15,7 @@ class Globals: ... TimeoutErrors = (TimeoutError, asyncio.exceptions.TimeoutError) -DisconnectErrors = (ConnectionResetError, BrokenPipeError, IndexError, *TimeoutErrors) +DisconnectErrors = (ConnectionResetError, BrokenPipeError, IndexError, UnicodeDecodeError, *TimeoutErrors) G = Globals() G.uniqueClients = 0 G.servers = {}