1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-16 18:23:20 +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:
Aergwyn 2017-11-22 11:35:25 +01:00 committed by Dean Herbert
parent 5efdb2f42d
commit e5dfe4ff2e

View File

@ -165,7 +165,7 @@ namespace osu.Game.Beatmaps
catch (Exception e)
{
e = e.InnerException ?? e;
Logger.Error(e, @"Could not import beatmap set");
Logger.Error(e, $@"Could not import beatmap set ({Path.GetFileName(path)})");
}
}