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:
parent
e37d30a373
commit
9c6421a462
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user