diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index 71ef89e..87ebbaa 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -4712,10 +4712,9 @@ private: //static_pointer_cast(t)->setFlushStrategy(m_flushStrategy); return t; } - catch (...) + catch (std::exception& e) { - // TODO log - //printf("failed to get transport\n"); + LOG(logLevelError, "getTransport() fails: %s\n", e.what()); return Transport::shared_pointer(); } }