Add masked crash-handler cm for debugging wonky inter-actor comms (teardowns)

treat_CREs_as_tptclosed
Gud Boi 2026-02-11 14:09:01 -05:00
parent a2014907bb
commit 7d594a44b5
1 changed files with 3 additions and 0 deletions

View File

@ -497,6 +497,9 @@ async def _connect_chan(
teardown. teardown.
''' '''
# XXX, ONLY uncomment for tracing lowlevel connection issues.
# from tractor.devx import open_crash_handler
# with open_crash_handler():
chan = await Channel.from_addr(addr) chan = await Channel.from_addr(addr)
yield chan yield chan
with trio.CancelScope(shield=True): with trio.CancelScope(shield=True):