diff options
Diffstat (limited to 'src/mad.cpp')
-rw-r--r-- | src/mad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mad.cpp b/src/mad.cpp index 0985bb0..bbcedcc 100644 --- a/src/mad.cpp +++ b/src/mad.cpp @@ -73,8 +73,8 @@ int main() { 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; |