mirror of https://github.com/ppy/osu
Merge pull request #16976 from peppy/dont-expose-mark-as-read-errors-to-user
Don't expose "mark as read" errors to the user via notifications
This commit is contained in:
commit
80fc13fc1f
|
@ -618,7 +618,7 @@ public void MarkChannelAsRead(Channel channel)
|
|||
var req = new MarkChannelAsReadRequest(channel, message);
|
||||
|
||||
req.Success += () => channel.LastReadId = message.Id;
|
||||
req.Failure += e => Logger.Error(e, $"Failed to mark channel {channel} up to '{message}' as read");
|
||||
req.Failure += e => Logger.Log($"Failed to mark channel {channel} up to '{message}' as read ({e.Message})", LoggingTarget.Network);
|
||||
|
||||
api.Queue(req);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue