Skip to content

Commit

Permalink
Fix argument
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes committed Feb 23, 2024
1 parent 8b9c854 commit a6e93fd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/py/flwr/client/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,9 @@ def _load_client_app() -> ClientApp:
# Return empty Message
error_out_message = Message(
metadata=message.metadata,
message=RecordSet(),
content=RecordSet(),
)

# Construct TaskRes from out_message
error_task_res = message_to_taskres(error_out_message)
send(error_task_res)
send(error_out_message)
continue

# Update node state
Expand Down

0 comments on commit a6e93fd

Please sign in to comment.