summaryrefslogtreecommitdiffstats
path: root/src/madc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/madc.cpp')
-rw-r--r--src/madc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/madc.cpp b/src/madc.cpp
index 1fa2112..23a9e45 100644
--- a/src/madc.cpp
+++ b/src/madc.cpp
@@ -116,7 +116,7 @@ int main(int argc, char *argv[]) {
application.getRequestManager()->unregisterConnection(connection);
}
catch(Core::Exception &e) {
- application.logf(Core::LoggerBase::LOG_CRITICAL, "Error: %s", e.strerror().c_str());
+ application.logf(Core::LoggerBase::LOG_CRITICAL, "Error: %s", e.what());
}
delete connection;