From d870351afb55c5efe8d55989a98eca796b4fb797 Mon Sep 17 00:00:00 2001 From: James Frowen Date: Wed, 27 Jan 2021 21:31:37 +0000 Subject: [PATCH] fix(SimpleWebTransport): removing unimportant error ReadHelperException can be throw when connection disconnects, this is normal and should not be sent to mirror as an error. --- .../Runtime/Transport/SimpleWebTransport/Common/ReceiveLoop.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/Transport/SimpleWebTransport/Common/ReceiveLoop.cs b/Assets/Mirror/Runtime/Transport/SimpleWebTransport/Common/ReceiveLoop.cs index 17af08b6f..92d916302 100644 --- a/Assets/Mirror/Runtime/Transport/SimpleWebTransport/Common/ReceiveLoop.cs +++ b/Assets/Mirror/Runtime/Transport/SimpleWebTransport/Common/ReceiveLoop.cs @@ -69,9 +69,8 @@ public static void Loop(Config config) catch (ObjectDisposedException e) { Log.InfoException(e); } catch (ReadHelperException e) { - // this could happen if client sends bad message + // log as info only Log.InfoException(e); - queue.Enqueue(new Message(conn.connId, e)); } catch (SocketException e) {