log the error

This commit is contained in:
cdwcgt
2022-11-21 19:00:10 +09:00
parent e37d30a373
commit 9c6421a462

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;
}