Skip to content

Commit

Permalink
fix(async-io): return coro when __name__ is not present (open-telemet…
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv authored and shadchin committed May 29, 2024
1 parent adef01d commit 1f46ebd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def trace_item(self, coro_or_future):

async def trace_coroutine(self, coro):
if not hasattr(coro, "__name__"):
return
return coro
start = default_timer()
attr = {
"type": "coroutine",
Expand Down

0 comments on commit 1f46ebd

Please sign in to comment.