From 86fa41cb54fed95bb38fe5e79311865710ad62fe Mon Sep 17 00:00:00 2001 From: Elliot Glaysher Date: Tue, 21 Aug 2018 15:30:04 -0700 Subject: [PATCH] Add debugging output for when a clay ford build fails. --- sys/vane/clay.hoon | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/vane/clay.hoon b/sys/vane/clay.hoon index bc856a12f..9419f72aa 100644 --- a/sys/vane/clay.hoon +++ b/sys/vane/clay.hoon @@ -501,6 +501,15 @@ |= row=build-result:ford ^- (unit [cage cage]) :: + ?: ?=([%error *] row) + ~& [%clay-whole-build-failed message.row] + ~ + ?: ?=([%success [%error *] *] row) + ~& [%clay-first-failure message.head.row] + ~ + ?: ?=([%success [%success *] [%error *]] row) + ~& [%clay-second-failure message.tail.row] + ~ ?. ?=([%success [%success *] [%success *]] row) ~ `[(result-to-cage:ford head.row) (result-to-cage:ford tail.row)]