From 4a0f071064aeb95749f40f93b51f86c3c882bfeb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 8 May 2024 12:44:35 -0300 Subject: upd8: show surprise-thrown aggregate errors out of yaml steps --- src/upd8.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/upd8.js b/src/upd8.js index 8ce3ab25..600cc257 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -1078,7 +1078,10 @@ async function main() { { const whoops = (error, stage) => { + if (!paragraph) console.log(''); + console.error(error); + niceShowAggregate(error); logError`There was a JavaScript error ${stage}.`; fileIssue(); -- cgit 1.3.0-6-gf8a5