From bd46af6afea5f3adf199d475f2e5abd74b0d8846 Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Wed, 12 May 2021 11:20:16 -0400 Subject: [PATCH] Promise.all only catches one error --- .github/workflows/src/index.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index 282dfffa..7a336992 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -50,10 +50,8 @@ try { airtable.userParticipated2020(actionEvent.pullAuthor), educationWeb.hasPack(actionEvent.pullAuthor), airtable.fetch2021Graduate(actionEvent.pullAuthor) - ]).catch((errors)=>{ - for(const error of errors) { - console.log(error) - } + ]).catch((error)=>{ + console.log(error) }) const pull = results[0] -- knotmirror 0.0.1