TOSQUASH 313ad93: yeah dun use `._message` as tb-str..

Tyler Goodlet 2025-08-05 01:05:46 -04:00
parent f614856673
commit 30d3ccf826
1 changed files with 20 additions and 17 deletions

View File

@ -639,13 +639,16 @@ 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
#
# ^TODO? what to use instead? if anything?
# -[ ] ensure the `.message` doesn't show up 2x in output ya?
# -[ ] ._message isn't really right?
# or
# self._message
)
if tb_str:
from tractor.devx import (
pformat_boxed_tb,
)