Skip to content

Commit

Permalink
Merge pull request #84 from microsoft/python
Browse files Browse the repository at this point in the history
added sync error handling
  • Loading branch information
sethjuarez authored Sep 5, 2024
2 parents bcc57ab + 5abbd4c commit 1ad4cff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/prompty/prompty/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def wrapper(*args, **kwargs):
"result",
{
"exception": {
"type": type(e).__name__,
"type": type(e),
"traceback": traceback.format_tb(),
"message": str(e),
"args": to_dict(e.args),
}
Expand Down

0 comments on commit 1ad4cff

Please sign in to comment.