We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f111fad commit 79b1b63Copy full SHA for 79b1b63
sentry_sdk/integrations/openai_agents/patches/agent_run.py
@@ -153,11 +153,11 @@ async def _run_single_turn_streamed(
153
154
try:
155
result = await original_run_single_turn_streamed(*args, **kwargs)
156
- except Exception as exc:
+ except Exception:
157
exc_info = sys.exc_info()
158
with capture_internal_exceptions():
159
if span is not None and span.timestamp is None:
160
- set_span_errored(span, exc)
+ set_span_errored(span)
161
end_invoke_agent_span(context_wrapper, agent)
162
_close_streaming_workflow_span(agent)
163
reraise(*exc_info)
0 commit comments