mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 21:07:18 +09: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")))
|
foreach (string file in files.Where(f => !Path.GetFileName(f).Contains("Tests")))
|
||||||
loadRulesetFromFile(file);
|
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…
x
Reference in New Issue
Block a user