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.
This commit is contained in:
James Frowen 2021-01-27 21:31:37 +00:00 committed by GitHub
parent 14b4e12056
commit d870351afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,9 +69,8 @@ public static void Loop(Config config)
catch (ObjectDisposedException e) { Log.InfoException(e); } catch (ObjectDisposedException e) { Log.InfoException(e); }
catch (ReadHelperException e) catch (ReadHelperException e)
{ {
// this could happen if client sends bad message // log as info only
Log.InfoException(e); Log.InfoException(e);
queue.Enqueue(new Message(conn.connId, e));
} }
catch (SocketException e) catch (SocketException e)
{ {