From 69f900b72c19ea386212969ec992b2532a9374ad Mon Sep 17 00:00:00 2001 From: Munir Abdinur Date: Thu, 6 Feb 2025 12:42:03 -0500 Subject: [PATCH] fix async test --- ddtrace/contrib/internal/aiohttp/middlewares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddtrace/contrib/internal/aiohttp/middlewares.py b/ddtrace/contrib/internal/aiohttp/middlewares.py index c1a5b8e4f3b..38be8a1b123 100644 --- a/ddtrace/contrib/internal/aiohttp/middlewares.py +++ b/ddtrace/contrib/internal/aiohttp/middlewares.py @@ -49,7 +49,7 @@ async def attach_context(request): ) as ctx: req_span = ctx.span - ctx.set_item("req_span", req_span) + ctx.set_item("req_span") core.dispatch("web.request.start", (ctx, config.aiohttp)) # attach the context and the root span to the request; the Context