Skip to content

Commit

Permalink
Merge pull request #100 from fal-ai/feat/better-serialization-errors
Browse files Browse the repository at this point in the history
feat: log with error level for serialization errors
  • Loading branch information
badayvedat authored Nov 6, 2023
2 parents c1031a4 + f56a120 commit a23011c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isolate/connections/grpc/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def execute_function(
# depickling is basically involves code execution from the *user*.
function = from_grpc(function)
except SerializationError:
yield from self.log(traceback.format_exc())
yield from self.log(traceback.format_exc(), level=LogLevel.ERROR)
raise AbortException(
f"The {function_kind} function could not be deserialized."
)
Expand Down

0 comments on commit a23011c

Please sign in to comment.