We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5960de commit e8a669eCopy full SHA for e8a669e
1 file changed
sentry_sdk/integrations/openai_agents/patches/runner.py
@@ -107,7 +107,7 @@ def wrapper(*args: "Any", **kwargs: "Any") -> "Any":
107
# If run_streamed itself fails (not the background task), clean up immediately
108
workflow_span.__exit__(*sys.exc_info())
109
_capture_exception(exc)
110
- raise exc from None
+ raise
111
112
def _close_workflow_span() -> None:
113
if hasattr(agent, "_sentry_workflow_span"):
0 commit comments