From 31261cee24754fd8f1cc2438d2947b535185cd85 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 25 Sep 2018 18:47:59 -0700 Subject: [PATCH] client context less noise --- src/remoteClient/clientContextImpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index bb2c0e1..929b9a0 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -310,6 +310,8 @@ public: { startRequest(PURE_CANCEL_REQUEST); m_channel->checkAndGetTransport()->enqueueSendRequest(internal_from_this()); + } catch (std::runtime_error& e) { + // assume from checkAndGetTransport() due to wrong channel state } catch (std::exception& e) { // noop (do not complain if fails) LOG(logLevelWarn, "Ignore exception during ChanneGet::cancel: %s", e.what());