diff options
author | Gordon Sim <gsim@apache.org> | 2008-11-24 12:41:35 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-11-24 12:41:35 +0000 |
commit | 62cf55e414190a6925b88acd2a6af543bf07fab7 (patch) | |
tree | e1b09ad73bf49044da33029c46d9ab7dc81bc79c /cpp/src | |
parent | 46ac0ba48ccc76bff9fc5e386a2567a96415d996 (diff) | |
download | qpid-python-62cf55e414190a6925b88acd2a6af543bf07fab7.tar.gz |
Avoid spurious error message for TransportFailure
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/client/Dispatcher.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/Dispatcher.cpp b/cpp/src/qpid/client/Dispatcher.cpp index 59bc265bd2..27cc4184f9 100644 --- a/cpp/src/qpid/client/Dispatcher.cpp +++ b/cpp/src/qpid/client/Dispatcher.cpp @@ -91,6 +91,10 @@ void Dispatcher::run() } catch (const ClosedException&) { QPID_LOG(debug, QPID_MSG(session.getId() << ": closed by peer")); + } + catch (const TransportFailure&) { + QPID_LOG(info, QPID_MSG(session.getId() << ": transport failure")); + throw; } catch (const std::exception& e) { if ( failoverHandler ) { |