Add `.runtime()`-emit to `._invoke()` to report final result msg in the child
parent
51f72801d2
commit
8908e1283b
|
@ -649,6 +649,10 @@ async def _invoke(
|
||||||
)
|
)
|
||||||
# set and shuttle final result to "parent"-side task.
|
# set and shuttle final result to "parent"-side task.
|
||||||
ctx._result = res
|
ctx._result = res
|
||||||
|
log.runtime(
|
||||||
|
f'Sending result msg and exiting {ctx.side!r}\n'
|
||||||
|
f'{return_msg}\n'
|
||||||
|
)
|
||||||
await chan.send(return_msg)
|
await chan.send(return_msg)
|
||||||
|
|
||||||
# NOTE: this happens IFF `ctx._scope.cancel()` is
|
# NOTE: this happens IFF `ctx._scope.cancel()` is
|
||||||
|
|
|
@ -836,8 +836,10 @@ class Actor:
|
||||||
)]
|
)]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
report: str = (
|
report: str = (
|
||||||
'Ignoring invalid IPC ctx msg!\n\n'
|
'Ignoring invalid IPC msg!?\n'
|
||||||
f'<=? {uid}\n\n'
|
f'Ctx seems to not/no-longer exist??\n'
|
||||||
|
f'\n'
|
||||||
|
f'<=? {uid}\n'
|
||||||
f' |_{pretty_struct.pformat(msg)}\n'
|
f' |_{pretty_struct.pformat(msg)}\n'
|
||||||
)
|
)
|
||||||
match msg:
|
match msg:
|
||||||
|
|
Loading…
Reference in New Issue