From 556f4626db4c4ebf1927144863e11c54233ec651 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 28 Jan 2023 17:37:57 -0500 Subject: [PATCH] Tweak warning msg for still-alive-after-cancelled actor --- tractor/_spawn.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tractor/_spawn.py b/tractor/_spawn.py index 6c0ce5b..900aea2 100644 --- a/tractor/_spawn.py +++ b/tractor/_spawn.py @@ -260,7 +260,9 @@ async def soft_wait( if proc.poll() is None: # type: ignore log.warning( - f'Process still alive after cancel request:\n{uid}') + 'Actor still alive after cancel request:\n' + f'{uid}' + ) n.cancel_scope.cancel() raise