From ae163689493803b237d0ca90cb88fa56d07ff653 Mon Sep 17 00:00:00 2001
From: Tyler Goodlet <jgbt@protonmail.com>
Date: Thu, 22 Aug 2024 17:22:53 -0400
Subject: [PATCH] Add `tb_hide: bool` ctl flag to
 `_open_and_supervise_one_cancels_all_nursery()`

---
 tractor/_supervise.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tractor/_supervise.py b/tractor/_supervise.py
index fb737c12..4a538e9f 100644
--- a/tractor/_supervise.py
+++ b/tractor/_supervise.py
@@ -373,11 +373,12 @@ class ActorNursery:
 @acm
 async def _open_and_supervise_one_cancels_all_nursery(
     actor: Actor,
+    tb_hide: bool = False,
 
 ) -> typing.AsyncGenerator[ActorNursery, None]:
 
     # normally don't need to show user by default
-    __tracebackhide__: bool = True
+    __tracebackhide__: bool = tb_hide
 
     outer_err: BaseException|None = None
     inner_err: BaseException|None = None