1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 09:47:26 +08:00

log the error

This commit is contained in:
cdwcgt 2022-11-21 19:00:10 +09:00
parent e37d30a373
commit 9c6421a462
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -6,6 +6,7 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Framework.Logging;
using osu.Framework.Platform;
using osu.Game.Extensions;
using osu.Game.Overlays;
@ -107,6 +108,8 @@ namespace osu.Game.Database
if (t.IsFaulted)
{
notification.State = ProgressNotificationState.Cancelled;
Logger.Error(t.Exception, "An error occurred while exporting");
return;
}