mirror of
https://github.com/ppy/osu
synced 2025-03-20 18:08:25 +00:00
Merge pull request #6319 from miterosan/rulesets_fail_load_exception_log
Log when loading rulesets from disk fails
This commit is contained in:
commit
8d6851cc31
@ -135,9 +135,9 @@ namespace osu.Game.Rulesets
|
|||||||
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
|
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
|
||||||
loadRulesetFromFile(file);
|
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