Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 17, 2024
1 parent 53e4fa6 commit 61ec45b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/agent/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Status MasterServerClient::finish_task(const TFinishTaskRequest& request, TMaste
client->finishTask(*result, request);
} catch (TTransportException& e) {
#ifdef ADDRESS_SANITIZER
return Status::RpcError<false>("Master client finish task failed");
return Status::RpcError<false>("Master client finish task failed due to {}", e.what());
#else
LOG(WARNING) << "master client, retry finishTask: " << e.what();
client_status = client.reopen(config::thrift_rpc_timeout_ms);
Expand Down Expand Up @@ -134,7 +134,7 @@ Status MasterServerClient::report(const TReportRequest& request, TMasterResult*
client->report(*result, request);
} catch (TTransportException& e) {
#ifdef ADDRESS_SANITIZER
return Status::RpcError<false>("Master client report failed");
return Status::RpcError<false>("Master client report failed due to {}", e.what());
#else
TTransportException::TTransportExceptionType type = e.getType();
if (type != TTransportException::TTransportExceptionType::TIMED_OUT) {
Expand Down

0 comments on commit 61ec45b

Please sign in to comment.