1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Add error logging for background processing failures

This commit is contained in:
Dean Herbert 2022-07-23 19:21:12 +09:00
parent c7e490eaae
commit f1791e79e3

View File

@ -126,10 +126,17 @@ namespace osu.Game
var set = r.Find<BeatmapSetInfo>(id);
if (set != null)
{
try
{
Logger.Log($"Background processing {set} ({++i} / {beatmapSetIds.Count})");
beatmapUpdater.Process(set);
}
catch (Exception e)
{
Logger.Log($"Background processing failed on {set}: {e}");
}
}
});
}
}