mirror of
https://github.com/ppy/osu
synced 2025-01-04 21:30:08 +00:00
Log the exception that caused to loading of rulesets to fail.
This commit is contained in:
parent
12b027f2c3
commit
9f498d2990
@ -135,9 +135,9 @@ namespace osu.Game.Rulesets
|
||||
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
|
||||
loadRulesetFromFile(file);
|
||||
}
|
||||
catch
|
||||
catch(Exception e)
|
||||
{
|
||||
Logger.Log($"Could not load rulesets from directory {Environment.CurrentDirectory}");
|
||||
Logger.Error(e, $"Could not load rulesets from directory {Environment.CurrentDirectory}");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user