Fix plugin parsing errors being logged as traces

This commit is contained in:
Oliver Hamlet
2018-02-08 18:33:38 +00:00
parent e97834e353
commit cb41a9d3f9
+1 -1
View File
@@ -172,7 +172,7 @@ void Game::LoadPlugins(const std::vector<std::string>& plugins,
Type(), DataPath(), loadOrderHandler_, pluginName, loadHeader));
} catch (std::exception& e) {
if (logger) {
logger->trace(
logger->error(
"Caught exception while trying to add {} to the cache: {}",
pluginName,
e.what());