mirror of
https://github.com/joelwmale/webhook-action.git
synced 2026-09-04 02:26:58 +08:00
v2.3.2
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
-3
@@ -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
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user