Skip to content

Commit

Permalink
fix: logging error if no handler is registered
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Sep 22, 2021
1 parent 4c054e8 commit 54c8520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Runtime/MessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void HandleMessage(INetworkPlayer player, ArraySegment<byte> packet)
}
catch (InvalidDataException ex)
{
logger.Log(ex.ToString());
logger.LogError(ex.ToString());
}
catch (Exception e)
{
Expand Down

0 comments on commit 54c8520

Please sign in to comment.