Skip to content

Commit

Permalink
Changed the TASK_UNKNOWN to log debug. (#2262)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen authored Jan 6, 2024
1 parent 21c3f1d commit fdcf578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvflare/private/fed/client/client_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def _check_task_once(self, task_id: str, fl_ctx: FLContext) -> int:
self.log_error(fl_ctx, f"server rejected task_check: {rc}")
return _TASK_CHECK_RESULT_TRY_AGAIN
elif rc == ReturnCode.TASK_UNKNOWN:
self.log_error(fl_ctx, f"task no longer exists on server: {rc}")
self.log_debug(fl_ctx, f"task no longer exists on server: {rc}")
return _TASK_CHECK_RESULT_TASK_GONE
else:
# this should never happen
Expand Down

0 comments on commit fdcf578

Please sign in to comment.