forked from goodboy/tractor
1
0
Fork 0

Tweak warning msg for still-alive-after-cancelled actor

ipc_failure_while_streaming
Tyler Goodlet 2023-01-28 17:37:57 -05:00
parent 3967c0ed9e
commit 556f4626db
1 changed files with 3 additions and 1 deletions

View File

@ -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