From 5ba046b373f4a24daed3535ef6dbe6da708d77b2 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 25 Apr 2019 11:48:55 -0700 Subject: [PATCH 1/2] adds top-level arvo error notification event %warn --- sys/arvo.hoon | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/sys/arvo.hoon b/sys/arvo.hoon index 9ecd67a413..a54fd28fac 100644 --- a/sys/arvo.hoon +++ b/sys/arvo.hoon @@ -748,7 +748,7 @@ :: In either case, they fall through here to be handled :: after the fact in +feck. :: - ?: ?=(?(%veer %verb %wack) -.q.ovo) + ?: ?=(?(%veer %verb %wack %warn) -.q.ovo) [[ovo ~] +>.$] :: =^ zef vanes @@ -799,6 +799,21 @@ ?> ?=(@ q.q.ovo) =. eny (shaz (cat 3 eny q.q.ovo)) [~ +>.$] + :: learn of event-replacement failure + :: + %warn + :_ +>.$ + ?. ?=(^ +.q.ovo) + ~ + =/ msg=tape + :(weld "(for %" (trip (symp +<.q.ovo)) ") failed") + ~> %slog.[0 leaf+(weld "arvo: replacement event " msg)] + ?: lac + ~ + =/ rep + %- mule |. + ((slog (tang +>.q.ovo)) ~) + ?.(?=(%& -.rep) ~ p.rep) == :: ++ vega :: reboot kernel From f7fdd0ccee29cf63867863d85a6ef2c52398ab88 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 25 Apr 2019 11:49:17 -0700 Subject: [PATCH 2/2] tweaks %crud error printing in %dill --- sys/vane/dill.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vane/dill.hoon b/sys/vane/dill.hoon index d71ad06998..3902c1ca6d 100644 --- a/sys/vane/dill.hoon +++ b/sys/vane/dill.hoon @@ -166,7 +166,7 @@ ++ crud |= {err/@tas tac/(list tank)} =+ ^= wol ^- wall - :- (trip err) + :- :(weld "%" (trip err) " event failed:") (zing (turn (flop tac) |=(a/tank (~(win re a) [0 wid])))) |- ^+ +>.^$ ?~ wol +>.^$