mirror of
https://github.com/ppy/osu.git
synced 2025-02-14 23:33:23 +08:00
Print event type to logs
This commit is contained in:
parent
cf03001c83
commit
cd8402df72
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user