diff --git a/tractor/_context.py b/tractor/_context.py index e97487a4..0e3ff0c3 100644 --- a/tractor/_context.py +++ b/tractor/_context.py @@ -2265,7 +2265,7 @@ async def open_context_from_portal( # await debug.pause() # log.cancel( match scope_err: - case trio.Cancelled: + case trio.Cancelled(): logmeth = log.cancel # XXX explicitly report on any non-graceful-taskc cases