mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
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:
parent
14b4e12056
commit
d870351afb
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user