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 053103a commit 53e4fa6
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 @@ -103,8 +103,8 @@ Status MasterServerClient::finish_task(const TFinishTaskRequest& request, TMaste
return Status::RpcError("Master client finish task failed");
}
client->finishTask(*result, request);
}
#endif
}
} catch (std::exception& e) {
RETURN_IF_ERROR(client.reopen(config::thrift_rpc_timeout_ms));
LOG(WARNING) << "fail to finish_task. "
Expand Down Expand Up @@ -157,8 +157,8 @@ Status MasterServerClient::report(const TReportRequest& request, TMasterResult*
LOG(WARNING) << "fail to report to master: " << e.what();
return Status::InternalError("Fail to report to master");
}
}
#endif
}
} catch (std::exception& e) {
RETURN_IF_ERROR(client.reopen(config::thrift_rpc_timeout_ms));
LOG(WARNING) << "fail to report to master. "
Expand Down

0 comments on commit 53e4fa6

Please sign in to comment.