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:
parent
d9e646d9ef
commit
ab244d1b7f
@ -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}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user