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
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ static RulesetStore()
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}");
}
}