Skip to content

Commit

Permalink
Merge branch 'master' into feature/SK-1202
Browse files Browse the repository at this point in the history
  • Loading branch information
Wrede committed Nov 29, 2024
2 parents 9d8b91d + 343088c commit ce57158
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fedn/network/clients/grpc_handler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
simport json
import os
import socket
import time
Expand Down Expand Up @@ -177,7 +177,7 @@ def listen_to_task_stream(self, client_name: str, client_id: str, callback: Call
callback(request)

except grpc.RpcError as e:
self.logger.error(f"GRPC (TaskStream): An error occurred: {e}")
logger.error(f"GRPC (TaskStream): An error occurred: {e}")
return self._handle_grpc_error(e, "TaskStream", lambda: self.listen_to_task_stream(client_name, client_id, callback))
except Exception as e:
logger.error(f"GRPC (TaskStream): An error occurred: {e}")
Expand Down

0 comments on commit ce57158

Please sign in to comment.