We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53f627 commit 5f1db51Copy full SHA for 5f1db51
pydantic_graph/pydantic_graph/beta/graph.py
@@ -897,4 +897,6 @@ def _unwrap_exception_groups():
897
try:
898
yield
899
except ExceptionGroup as e:
900
- raise e.exceptions[0]
+ exception = e.exceptions[0]
901
+ exception.__cause__ = None # prevent recursion errors when formatting the exception for logfire
902
+ raise exception
0 commit comments