We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061d5c4 commit 515bab6Copy full SHA for 515bab6
packages/common-library/src/common_library/async_tools.py
@@ -89,8 +89,7 @@ async def cancel_wait_task(
89
TimeoutError: raised if cannot cancel the task.
90
CancelledError: raised ONLY if owner is being cancelled.
91
"""
92
-
93
- task.cancel()
+ task.cancel("cancel_wait_task was called to cancel this task")
94
try:
95
_logger.debug("%s", f"Cancelling task {task.get_name()!r}")
96
await asyncio.shield(
0 commit comments