summaryrefslogtreecommitdiffstats
path: root/src/Client/InformationManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/InformationManager.cpp')
-rw-r--r--src/Client/InformationManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Client/InformationManager.cpp b/src/Client/InformationManager.cpp
index 10827d9..5ef78d6 100644
--- a/src/Client/InformationManager.cpp
+++ b/src/Client/InformationManager.cpp
@@ -73,7 +73,7 @@ void InformationManager::daemonListRequestFinished(boost::shared_ptr<const Commo
boost::lock_guard<boost::mutex> lock(mutex);
if(!packet || error) {
- application->logf(Core::Logger::LOG_CRITICAL, "Host list request failed: %s", error.what());
+ application->log(Core::Logger::LOG_CRITICAL, Core::Format("Host list request failed: %1%") % error);
}
else {
const Common::XmlData::List *list = packet->getList("hosts");