From c5a46bc605d2ba3a194c63296bf1a30944916bb3 Mon Sep 17 00:00:00 2001 From: Logan Allen Date: Fri, 4 Dec 2020 13:24:42 -0600 Subject: [PATCH] pull-hook: fix handle-kick printouts --- pkg/arvo/lib/pull-hook.hoon | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/lib/pull-hook.hoon b/pkg/arvo/lib/pull-hook.hoon index 606c057ae..595aee882 100644 --- a/pkg/arvo/lib/pull-hook.hoon +++ b/pkg/arvo/lib/pull-hook.hoon @@ -339,6 +339,7 @@ == ~ ``.^(* u.pax) + :: ++ handle-kick |= [rid=resource =ship] ^- (quip card _state) @@ -349,13 +350,16 @@ :- -:!>(*(unit path)) ?:(?=(%0 -.res) p.res ~) =? failed-kicks !?=(%0 -.res) - =/ tang + =/ =tang :+ leaf+"failed kick handler, please report" leaf+"{} in {(trip dap.bowl)}" ?: ?=(%2 -.res) p.res ?> ?=(%1 -.res) - (turn `(list *)`p.res (cork path smyt)) + =/ paths=(unit (list path)) ((soft (list path)) p.res) + ?~ paths ~ + %+ turn u.paths + (cork path smyt) %- (slog tang) (~(put by failed-kicks) rid ship) ?^ pax