mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 02:45:38 +08:00
Make error more verbose when beatmap import fails (#1537)
Add name of beatmap set to error message if import fails
This commit is contained in:
parent
5efdb2f42d
commit
e5dfe4ff2e
@ -165,7 +165,7 @@ namespace osu.Game.Beatmaps
|
|||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
e = e.InnerException ?? e;
|
e = e.InnerException ?? e;
|
||||||
Logger.Error(e, @"Could not import beatmap set");
|
Logger.Error(e, $@"Could not import beatmap set ({Path.GetFileName(path)})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user