Skip to content

Commit 21d9d9c

Browse files
committed
refactor: fix typo
1 parent c8afbde commit 21d9d9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/asgi_monitor/integrations/aiohttp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ async def tracing_middleware(request: Request, handler: Callable) -> Any:
199199
try:
200200
resp = await handler(request)
201201
_set_status_code(span, resp.status)
202-
except HTTPException as ex:
203-
_set_status_code(span, ex.status_code)
202+
except HTTPException as exc:
203+
_set_status_code(span, exc.status_code)
204204
raise
205205
finally:
206206
duration = max((default_timer() - start) * 1000, 0)

0 commit comments

Comments
 (0)