From 6344f9cdb70972292f7e8d445afbd4ab7d262ae2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 5 Aug 2025 01:05:46 -0400 Subject: [PATCH] TOSQUASH 313ad93: yeah dun use `._message` as tb-str.. --- tractor/_exceptions.py | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/tractor/_exceptions.py b/tractor/_exceptions.py index 3c469222..24a9f29d 100644 --- a/tractor/_exceptions.py +++ b/tractor/_exceptions.py @@ -639,26 +639,29 @@ class RemoteActorError(Exception): self.extra_body_fields, ) - # ?TODO, ensure the `.message` doesn't show up 2x in - # output ya? tb_str: str = ( self.tb_str - or - self._message - ) - from tractor.devx import ( - pformat_boxed_tb, - ) - body: str = pformat_boxed_tb( - tb_str=tb_str, - fields_str=fields, - field_prefix=' |_', - # ^- is so that it's placed like so, - # just after