diff options
Diffstat (limited to 'cpp/src/qpid/ha/StatusCheck.cpp')
| -rw-r--r-- | cpp/src/qpid/ha/StatusCheck.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/cpp/src/qpid/ha/StatusCheck.cpp b/cpp/src/qpid/ha/StatusCheck.cpp index d73f2cf8b5..11f65aa574 100644 --- a/cpp/src/qpid/ha/StatusCheck.cpp +++ b/cpp/src/qpid/ha/StatusCheck.cpp @@ -97,16 +97,10 @@ void StatusCheckThread::run() { QPID_LOG(debug, statusCheck.logPrefix << "Status of " << url << ": " << status); } } catch(const exception& error) { - QPID_LOG(info, statusCheck.logPrefix << "Checking status of " << url << ": " << error.what()); - } - try { c.close(); } - catch(const exception&) { - QPID_LOG(warning, statusCheck.logPrefix << "Error closing status check connection to " << url); - } - try { c.close(); } - catch(const exception&) { - QPID_LOG(warning, "Error closing status check connection to " << url); + QPID_LOG(info, statusCheck.logPrefix << "Error checking status of " << url + << ": " << error.what()); } + try { c.close(); } catch(...) {} delete this; } |
