Skip to content

Commit 3f22768

Browse files
Fix: exception order
1 parent fcd7297 commit 3f22768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/utils/telemetry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def async_wrapper(*args, **kwargs) -> Any:
165165

166166
# asyncio.CancelledError extends from BaseException
167167
except asyncio.CancelledError as ce:
168-
exception = ce
168+
exception = None
169169
logger.debug(f'CancelledError in span {actual_span_name}')
170170
span.record_exception(ce)
171171
raise

0 commit comments

Comments
 (0)