diff options
Diffstat (limited to 'src/madd.cpp')
-rw-r--r-- | src/madd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/madd.cpp b/src/madd.cpp index 710e69f..ad81b22 100644 --- a/src/madd.cpp +++ b/src/madd.cpp @@ -71,7 +71,7 @@ int main() { application.getRequestManager()->unregisterConnection(connection); } catch(Core::Exception &e) { - application.logf(Core::Logger::LOG_CRITICAL, "Connection error: %s", e.what()); + application.log(Core::Logger::LOG_CRITICAL, Core::Format("Error: %1%") % e); } delete connection; |