Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
fix nullptr client (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
critical27 authored Mar 15, 2021
1 parent 9d6f6fe commit 2751662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/thrift/ThriftClientManager.inl
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ std::shared_ptr<ClientType> ThriftClientManager<ClientType>::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;
}
}

Expand Down

0 comments on commit 2751662

Please sign in to comment.