mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 12:17:46 +08:00
Add error logging for background processing failures
This commit is contained in:
parent
c7e490eaae
commit
f1791e79e3
@ -127,8 +127,15 @@ namespace osu.Game
|
|||||||
|
|
||||||
if (set != null)
|
if (set != null)
|
||||||
{
|
{
|
||||||
Logger.Log($"Background processing {set} ({++i} / {beatmapSetIds.Count})");
|
try
|
||||||
beatmapUpdater.Process(set);
|
{
|
||||||
|
Logger.Log($"Background processing {set} ({++i} / {beatmapSetIds.Count})");
|
||||||
|
beatmapUpdater.Process(set);
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Logger.Log($"Background processing failed on {set}: {e}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user