make changes suggested by andrew that remove warning messages

This commit is contained in:
mrkraimer
2018-01-29 10:19:56 -05:00
parent d3ce104c33
commit 4d2e682a95
2 changed files with 2 additions and 7 deletions

View File

@@ -190,9 +190,7 @@ void ca_factory_cleanup(void*)
ChannelProviderRegistry::clients()->remove("ca");
ca_context_destroy();
} catch(std::exception& e) {
std::string message("Error when unregister \"ca\" factory");
message += e.what();
LOG(logLevelWarn,message.c_str());
LOG(logLevelWarn, "Error on unregistering \"ca\" factory: %s", e.what());
}
}