mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:52:57 +08:00
Add error log message for debugging
This commit is contained in:
parent
8dbddfab55
commit
4f36bc0fd3
@ -450,6 +450,7 @@ namespace osu.Game.Online.Chat
|
||||
var channel = JoinedChannels.First(c => c.Id == message.ChannelId);
|
||||
var req = new MarkChannelAsReadRequest(channel, message);
|
||||
req.Success += () => channel.LastReadId = message.Id;
|
||||
req.Failure += (e) => Logger.Error(e, "Failed to mark channel as read");
|
||||
api.Queue(req);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user