mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
ames: add tracing printf
This commit is contained in:
parent
6318aa283b
commit
a278b63c66
@ -1680,6 +1680,7 @@
|
|||||||
::
|
::
|
||||||
=/ state=(unit peer-state) (get-peer-state her.u.res)
|
=/ state=(unit peer-state) (get-peer-state her.u.res)
|
||||||
?~ state
|
?~ state
|
||||||
|
%. event-core
|
||||||
(slog leaf+"ames: got timer for strange ship: {<her.u.res>}, ignoring" ~)
|
(slog leaf+"ames: got timer for strange ship: {<her.u.res>}, ignoring" ~)
|
||||||
::
|
::
|
||||||
=/ =channel [[our her.u.res] now channel-state -.u.state]
|
=/ =channel [[our her.u.res] now channel-state -.u.state]
|
||||||
@ -2630,6 +2631,7 @@
|
|||||||
?: =(vane.plea %a)
|
?: =(vane.plea %a)
|
||||||
:: only ames-to-ames %cork pleas are handled
|
:: only ames-to-ames %cork pleas are handled
|
||||||
::
|
::
|
||||||
|
~| %non-cork-ames-plea^our^her.channel^path.plea
|
||||||
?> &(?=([%cork *] payload.plea) =(path.plea `path`/flow))
|
?> &(?=([%cork *] payload.plea) =(path.plea `path`/flow))
|
||||||
=. closing.peer-state (~(put in closing.peer-state) bone)
|
=. closing.peer-state (~(put in closing.peer-state) bone)
|
||||||
(emit duct %pass wire %a %plea her.channel [%a /close ~])
|
(emit duct %pass wire %a %plea her.channel [%a /close ~])
|
||||||
|
Loading…
Reference in New Issue
Block a user