diff --git a/server/netwrapper.py b/server/netwrapper.py index 02623f1..83a5e0d 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -107,8 +107,10 @@ class NetWrapper: return b"LINOK" else: self.logout() + return b"LINERROR" except Exception: self.logout() + return b"LINERROR" def recieveMessage(self) -> bytes: status, msg = self.network.receive_msg(blocking=True)