diff --git a/src/common/thrift/ThriftClientManager.inl b/src/common/thrift/ThriftClientManager.inl index 4bdc834ca..8f0bc1c29 100644 --- a/src/common/thrift/ThriftClientManager.inl +++ b/src/common/thrift/ThriftClientManager.inl @@ -61,8 +61,8 @@ std::shared_ptr ThriftClientManager::client( oss << resolved; LOG(INFO) << oss.str(); } catch(const std::exception& e) { + // if we resolve failed, just return a connection, we will retry later LOG(ERROR) << e.what(); - return nullptr; } }