mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:53:22 +08:00
Log delete failure
This commit is contained in:
parent
0f3a586738
commit
18baf3dd5d
@ -22,6 +22,7 @@ using System.Collections.Specialized;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using osu.Framework.Extensions.LocalisationExtensions;
|
using osu.Framework.Extensions.LocalisationExtensions;
|
||||||
using osu.Framework.Localisation;
|
using osu.Framework.Localisation;
|
||||||
|
using osu.Framework.Logging;
|
||||||
using osu.Framework.Platform;
|
using osu.Framework.Platform;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Online.API;
|
using osu.Game.Online.API;
|
||||||
@ -419,8 +420,9 @@ namespace osu.Game.Overlays.Comments
|
|||||||
if (!ShowDeleted.Value)
|
if (!ShowDeleted.Value)
|
||||||
Hide();
|
Hide();
|
||||||
});
|
});
|
||||||
request.Failure += _ => Schedule(() =>
|
request.Failure += e => Schedule(() =>
|
||||||
{
|
{
|
||||||
|
Logger.Error(e, "Failed to delete comment");
|
||||||
actionsLoading.Hide();
|
actionsLoading.Hide();
|
||||||
actionsContainer.Show();
|
actionsContainer.Show();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user