Skip to content

Commit 861fc6f

Browse files
committed
Fix
1 parent 947d92d commit 861fc6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_error_resilience.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async def slow_export(spans):
145145
async def timeout_export(spans):
146146
try:
147147
return await asyncio.wait_for(slow_export(spans), timeout=0.1)
148-
except TimeoutError:
148+
except asyncio.TimeoutError:
149149
return ExportResult.failed("Export timed out")
150150

151151
adapter.export_spans = timeout_export # type: ignore[method-assign]

0 commit comments

Comments
 (0)