diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-19 11:15:14 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-19 11:15:14 +0200 |
commit | 113b1f4bbdecfab24ed9781b730a76a442adad6f (patch) | |
tree | e28f5c9a7a1afebd7d920f1006aacff401894dbc /src/mad.cpp | |
parent | 793a0789858734141dfa12d2ab3dd6ea3ed293e8 (diff) | |
download | mad-113b1f4bbdecfab24ed9781b730a76a442adad6f.tar mad-113b1f4bbdecfab24ed9781b730a76a442adad6f.zip |
Exceptions vereinheitlicht
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; |