diff --git a/dist/index.js b/dist/index.js index 32c063fa..3c7c93e8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7008,6 +7008,7 @@ function run() { core.setFailed('A url is required to run this action.'); throw new Error('A url is required to run this action.'); } + core.info(`Sending webhook request to ${url}`); http_1.http .make(url, headers, body, insecure) .then(res => { @@ -7017,6 +7018,7 @@ function run() { } }) .catch(err => { + core.info(`Error: ${err}`); error(err.status); return; }); diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache index 732a9dd2..c6b18966 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache and b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache index cd61f344..5cb0222e 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/index.js.cache and b/node_modules/@vercel/ncc/dist/ncc/index.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache index 1f20a752..cc9f7100 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache index e52d6c68..59e035a8 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache index 68bbb29c..0f197cf5 100644 Binary files a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache and b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache differ diff --git a/src/main.ts b/src/main.ts index d5650efd..ed1ba233 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,6 +33,9 @@ async function run() { throw new Error('A url is required to run this action.') } + // initial info + core.info(`Sending webhook request to ${url}`) + // make the request http .make(url, headers, body, insecure) @@ -46,6 +49,7 @@ async function run() { }) .catch(err => { + core.info(`Error: ${err}`) error(err.status) return })