From 6562f774fc542a75ae6f0945fa36faa66131193a Mon Sep 17 00:00:00 2001 From: Adam Rensel Date: Mon, 10 May 2021 19:46:47 -0400 Subject: [PATCH] Bubble up error --- .github/workflows/src/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/src/index.js b/.github/workflows/src/index.js index acdce629..f0b7631e 100644 --- a/.github/workflows/src/index.js +++ b/.github/workflows/src/index.js @@ -35,6 +35,8 @@ const fileValidator = require('./app/file-validator.js'); const BOT_ACCOUNT_LOGIN = "GitHub-Education-bot" + +try { ;(async ()=>{ if(actionEvent.name === "review_requested" && actionEvent.requestedReviewer.login !== BOT_ACCOUNT_LOGIN) { @@ -178,3 +180,6 @@ ${ feedBackMessage } } } })() +} catch(err) { + throw err +} -- knotmirror 0.0.1