1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00

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:
Dan Balasescu 2022-02-24 23:20:34 +09:00 committed by GitHub
commit 80fc13fc1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -618,7 +618,7 @@ namespace osu.Game.Online.Chat
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);
}