Skip to content

Commit

Permalink
Adjust return error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Jun 10, 2024
1 parent 97368c8 commit eac10e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,9 @@ def _call_callable(self, callable_id: str, args: Any) -> Any:
json.dumps(result)
return result
except Exception:
return {"error": f"Cannot serialize callable {callable_id} result"}
return {
"serialization_error": f"Cannot serialize callable {callable_id} result"
}

def _close_callable(self, callable_id: str) -> None:
"""
Expand Down

0 comments on commit eac10e7

Please sign in to comment.