diff --git a/daemon.py b/daemon.py index 823e5465..164a60a6 100644 --- a/daemon.py +++ b/daemon.py @@ -8881,7 +8881,7 @@ class EpicyonServer(ThreadingHTTPServer): def handle_error(self, request, client_address): # surpress connection reset errors cls, e = sys.exc_info()[:2] - if cls is socket.error or cls is ConnectionResetError: + if cls is ConnectionResetError: print('ERROR: ' + str(cls) + ", " + str(e)) pass else: