diff --git a/fedn/network/clients/grpc_handler.py b/fedn/network/clients/grpc_handler.py index 9edf40233..759161a4c 100644 --- a/fedn/network/clients/grpc_handler.py +++ b/fedn/network/clients/grpc_handler.py @@ -238,7 +238,7 @@ def get_model_from_combiner(self, id: str, client_id: str, timeout: int = 20) -> return None continue except grpc.RpcError as e: - return self._handle_grpc_error(e, "Download", lambda: self.get_model_from_combiner(id, client_name, timeout)) + return self._handle_grpc_error(e, "Download", lambda: self.get_model_from_combiner(id, client_id, timeout)) except Exception as e: logger.error(f"GRPC (Download): An error occurred: {e}") self._disconnect()