From 26526b86c36501e2c9325b3e3b0954d8104370c7 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 25 Jul 2025 19:03:21 -0400 Subject: [PATCH] Facepalm, actually use `.log.cancel()`-level to report parent-side taskc.. --- tractor/_context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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