diff options
Diffstat (limited to 'src/madc.cpp')
-rw-r--r-- | src/madc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/madc.cpp b/src/madc.cpp index 66e235d..48b15c9 100644 --- a/src/madc.cpp +++ b/src/madc.cpp @@ -118,8 +118,8 @@ int main(int argc, char *argv[]) { Mad::Common::RequestManager::getRequestManager()->unregisterConnection(connection); } - catch(Mad::Net::Exception &e) { - Mad::Common::Logger::log(Mad::Common::Logger::CRITICAL, "Connection error: " + e.what()); + catch(Mad::Common::Exception &e) { + Mad::Common::Logger::log(Mad::Common::Logger::CRITICAL, "Connection error: " + e.strerror()); } delete connection; |