Hide `._rpc._errors_relayed_via_ipc()` frame by def

enable_tpts
Tyler Goodlet 2025-06-17 12:30:59 -04:00
parent 93f70c63a4
commit b2c415c4f6
1 changed files with 4 additions and 4 deletions

View File

@ -255,7 +255,7 @@ async def _errors_relayed_via_ipc(
ctx: Context, ctx: Context,
is_rpc: bool, is_rpc: bool,
hide_tb: bool = False, hide_tb: bool = True,
debug_kbis: bool = False, debug_kbis: bool = False,
task_status: TaskStatus[ task_status: TaskStatus[
Context | BaseException Context | BaseException
@ -380,9 +380,9 @@ async def _errors_relayed_via_ipc(
# they can be individually ccancelled. # they can be individually ccancelled.
finally: finally:
# if the error is not from user code and instead a failure # if the error is not from user code and instead a failure of
# of a runtime RPC or transport failure we do prolly want to # an internal-runtime-RPC or IPC-connection, we do (prolly) want
# show this frame # to show this frame!
if ( if (
rpc_err rpc_err
and ( and (