From 65cb1c8397d152f240d60bf716523cb2f62ac1d7 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 10 May 2017 11:04:30 -0400 Subject: [PATCH] minor --- src/remoteClient/clientContextImpl.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index 026594f..7d16d58 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -326,8 +326,9 @@ public: { startRequest(PURE_DESTROY_REQUEST); m_channel->checkAndGetTransport()->enqueueSendRequest(shared_from_this()); - } catch (...) { + } catch (std::exception& e) { // noop (do not complain if fails) + LOG(logLevelWarn, "Ignore exception during BaseRequestImpl::destroy: %s", e.what()); } } @@ -2312,8 +2313,9 @@ public: try { m_channel->checkAndGetTransport()->enqueueSendRequest(shared_from_this()); - } catch (...) { + } catch (std::exception& e) { // noop (do not complain if fails) + LOG(logLevelWarn, "Ignore exception during MonitorStrategyQueue::release: %s", e.what()); m_reportQueueStateInProgress = false; } }