ames: +send-blob better ship printing

This commit is contained in:
Ted Blackman 2019-12-11 20:59:21 -05:00 committed by Jared Tobin
parent c500e03b81
commit d4574b5da4
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -1771,7 +1771,8 @@
++ send-blob
|= [for=? =ship =blob]
::
%- (trace rot.veb ship |.("send-blob: to {<ship>}"))
=/ final-ship ship
%- (trace rot.veb final-ship |.("send-blob: to {<ship>}"))
|-
|^ ^+ event-core
::
@ -1792,10 +1793,10 @@
(try-next-sponsor sponsor.peer-state)
::
?~ route=route.peer-state
%- (trace rot.veb ship |.("no route to: {<ship>}"))
%- (trace rot.veb final-ship |.("no route to: {<ship>}"))
(try-next-sponsor sponsor.peer-state)
::
%- (trace rot.veb ship |.("trying route: {<ship>}"))
%- (trace rot.veb final-ship |.("trying route: {<ship>}"))
=. event-core
(emit unix-duct.ames-state %give %send lane.u.route blob)
::