From 127f2f2f6884290b97c155bc9fe93b3ee251ec09 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 5 Mar 2025 12:39:16 -0500 Subject: [PATCH] Bind another `_bexc` for debuggin --- tractor/_context.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tractor/_context.py b/tractor/_context.py index 2dad8b2..900d7e4 100644 --- a/tractor/_context.py +++ b/tractor/_context.py @@ -1561,12 +1561,12 @@ class Context: strict_pld_parity=strict_pld_parity, hide_tb=hide_tb, ) - except BaseException as err: + except BaseException as _bexc: + err = _bexc if not isinstance(err, MsgTypeError): __tracebackhide__: bool = False - raise - + raise err # TODO: maybe a flag to by-pass encode op if already done # here in caller?