Skip to content

Commit a19b6af

Browse files
committed
raise error after logging
1 parent 6d74628 commit a19b6af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/agents/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,7 @@ async def _start_streaming(
11501150
logger.debug(
11511151
f"Error in streamed_result finalize for agent {current_agent.name} - {e}"
11521152
)
1153+
raise e
11531154
if current_span:
11541155
current_span.finish(reset_current=True)
11551156
if streamed_result.trace:

0 commit comments

Comments
 (0)