don't swallow exception

This commit is contained in:
Michael Davidsaver
2017-06-06 08:18:13 +02:00
parent 6fcfd60bd5
commit f8c8925b83

View File

@@ -4712,10 +4712,9 @@ private:
//static_pointer_cast<BlockingTCPTransport>(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();
}
}