diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-08 12:44:35 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-08 12:44:53 -0300 |
commit | 4a0f071064aeb95749f40f93b51f86c3c882bfeb (patch) | |
tree | 115a126d4961a96a0ebb7541b8a80892d4d2dc24 | |
parent | f00c3273409fe316f304541b7287656db76d7b67 (diff) |
upd8: show surprise-thrown aggregate errors out of yaml steps
-rwxr-xr-x | src/upd8.js | 3 |
1 files changed, 3 insertions, 0 deletions
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(); |