diff options
Diffstat (limited to 'fcp/client/fcp_runner.cc')
-rw-r--r-- | fcp/client/fcp_runner.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fcp/client/fcp_runner.cc b/fcp/client/fcp_runner.cc index 8b645d5..51e1618 100644 --- a/fcp/client/fcp_runner.cc +++ b/fcp/client/fcp_runner.cc @@ -280,6 +280,9 @@ absl::StatusOr<FLRunnerResult> RunFederatedComputation( fl_runner_result.set_contribution_result(FLRunnerResult::SUCCESS); } else { fl_runner_result.set_contribution_result(FLRunnerResult::FAIL); + std::string error_message = std::string{ + plan_result_and_checkpoint_file.plan_result.original_status.message()}; + fl_runner_result.set_error_message(error_message); } return fl_runner_result; } |