mirror of
https://github.com/urbit/shrub.git
synced 2024-12-25 04:52:06 +03:00
ames: +send-blob better ship printing
This commit is contained in:
parent
c500e03b81
commit
d4574b5da4
@ -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)
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user