1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 16:27:26 +08:00

Only log that the rulesets could not be loaded from a directory.

This commit is contained in:
miterosan 2019-07-03 10:21:18 +02:00
parent d9e646d9ef
commit ab244d1b7f

View File

@ -31,9 +31,9 @@ namespace osu.Game.Rulesets
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
loadRulesetFromFile(file);
}
catch (Exception e)
catch
{
Logger.Error(e, $"Could not load rulesets from directory {Environment.CurrentDirectory}");
Logger.Log($"Could not load rulesets from directory {Environment.CurrentDirectory}");
}
}