Print event type to logs

This commit is contained in:
Dan Balasescu
2022-11-07 12:11:44 +09:00
parent cf03001c83
commit cd8402df72

View File

@ -69,13 +69,14 @@ namespace osu.Game.Online.Notifications.WebSocket
break;
}
Logger.Log($"{GetType().ReadableName()} handling event: {message.Event}");
await onMessageReceivedAsync(message);
}
break;
case WebSocketMessageType.Binary:
throw new NotImplementedException();
throw new NotImplementedException("Binary message type not supported.");
case WebSocketMessageType.Close:
throw new Exception("Connection closed by remote host.");