Always `.exception()` in `try_ship_error_to_remote()` on internal error
parent
d51c19fe3d
commit
1c00668d20
|
@ -326,7 +326,6 @@ async def _errors_relayed_via_ipc(
|
||||||
f'|_{ctx}'
|
f'|_{ctx}'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# ALWAYS try to ship RPC errors back to parent/caller task
|
# ALWAYS try to ship RPC errors back to parent/caller task
|
||||||
if is_rpc:
|
if is_rpc:
|
||||||
|
|
||||||
|
@ -817,6 +816,12 @@ async def try_ship_error_to_remote(
|
||||||
# TODO: use `.msg.preetty_struct` for this!
|
# TODO: use `.msg.preetty_struct` for this!
|
||||||
f'{msg}\n'
|
f'{msg}\n'
|
||||||
)
|
)
|
||||||
|
except BaseException:
|
||||||
|
log.exception(
|
||||||
|
'Errored while attempting error shipment?'
|
||||||
|
)
|
||||||
|
__tracebackhide__: bool = False
|
||||||
|
raise
|
||||||
|
|
||||||
|
|
||||||
async def process_messages(
|
async def process_messages(
|
||||||
|
|
Loading…
Reference in New Issue