Skip to content

Commit caf312e

Browse files
committed
fix async test
1 parent 9a6dc10 commit caf312e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddtrace/contrib/internal/aiohttp/middlewares.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async def attach_context(request):
4949
) as ctx:
5050
req_span = ctx.span
5151

52-
ctx.set_item("req_span", req_span)
52+
ctx.set_item("req_span")
5353
core.dispatch("web.request.start", (ctx, config.aiohttp))
5454

5555
# attach the context and the root span to the request; the Context

0 commit comments

Comments
 (0)