diff options
Diffstat (limited to 'src/mad.cpp')
-rw-r--r-- | src/mad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mad.cpp b/src/mad.cpp index 62b97f1..3486a6a 100644 --- a/src/mad.cpp +++ b/src/mad.cpp @@ -76,7 +76,7 @@ int main() { Common::RequestManager::getRequestManager()->unregisterConnection(connection); } catch(Mad::Common::Exception &e) { - Common::Logger::log(Common::Logger::CRITICAL, "Connection error: " + e.strerror()); + Common::Logger::logf(Common::Logger::CRITICAL, "Connection error: %s", e.strerror().c_str()); } delete connection; |