Add tracepoint when `raddrs[0]` is written with weird tcp-addr `dict`..
parent
162d5f76d3
commit
62e285bcd7
|
|
@ -530,11 +530,15 @@ async def open_root_actor(
|
||||||
)
|
)
|
||||||
# TODO, remove once we have also removed all usage;
|
# TODO, remove once we have also removed all usage;
|
||||||
# eventually all (root-)registry apis should expect > 1 addr.
|
# eventually all (root-)registry apis should expect > 1 addr.
|
||||||
_state._runtime_vars['_root_mailbox'] = raddrs[0]
|
root_mailbox = raddrs[0]
|
||||||
# if 'chart' in actor.aid.name:
|
_state._runtime_vars['_root_mailbox'] = root_mailbox
|
||||||
# from tractor.devx import mk_pdb
|
# if not isinstance(root_mailbox, tuple):
|
||||||
|
# from .devx import mk_pdb
|
||||||
# mk_pdb().set_trace()
|
# mk_pdb().set_trace()
|
||||||
|
# raise TypeError(
|
||||||
|
# f'Root mailbox addr must be a `tuple`?\n'
|
||||||
|
# f'{root_mailbox!r}\n'
|
||||||
|
# )
|
||||||
try:
|
try:
|
||||||
yield actor
|
yield actor
|
||||||
except (
|
except (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue