This commit is contained in:
Joel Male 2022-11-10 22:49:48 +10:00
parent ec605077bc
commit ee20d8c79e
6 changed files with 2 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -33,8 +33,7 @@ async function run() {
throw new Error('A url is required to run this action.') throw new Error('A url is required to run this action.')
} }
// initial info core.info(`Sending webhook request to ${url}`)
core.info(`Sending webhook request to ${url}`)
// make the request // make the request
http http
@ -49,7 +48,7 @@ async function run() {
}) })
.catch(err => { .catch(err => {
core.info(`Error: ${err}`) core.info(`Error: ${err}`);
error(err.status) error(err.status)
return return
}) })