Skip to content

Commit

Permalink
[chore](thrift exception) do not log message in thrift exception
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 17, 2024
1 parent dddb0fc commit ca21a66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/util/thrift_rpc_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Status ThriftRpcHelper::rpc(const std::string& ip, const int32_t port,
} catch (apache::thrift::transport::TTransportException& e) {
std::cerr << "thrift error, reason=" << e.what();
#ifdef ADDRESS_SANITIZER
return Status::RpcError("failed to call frontend service, FE address={}:{}, reason: {}",
ip, port, e.what());
return Status::RpcError<false>("failed to call frontend service, FE address={}:{}, reason: {}",
ip, port, e.what());
#else
LOG(WARNING) << "retrying call frontend service after "
<< config::thrift_client_retry_interval_ms << " ms, address=" << address
Expand Down

0 comments on commit ca21a66

Please sign in to comment.