diff --git a/dist/index.js b/dist/index.js index 7a51500..1ad636e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -45023,7 +45023,7 @@ async function handleCronJobs(context = github_context) { // Check to see if any of the promises failed for (const result of results) { if (result instanceof Error) { - throw new TypeError(`error handling issue comment: ${result}`); + throw new TypeError(`error handling cron job: ${result}`); } } }) @@ -46423,7 +46423,7 @@ async function handlePullReq(context = github_context) { .then((results) => { for (const result of results) { if (result instanceof Error) { - throw new TypeError(`error handling issue comment: ${result}`); + throw new TypeError(`error handling pull request: ${result}`); } } }) diff --git a/src/cronJobs/handleCronJob.ts b/src/cronJobs/handleCronJob.ts index 761a1f4..9e990d6 100644 --- a/src/cronJobs/handleCronJob.ts +++ b/src/cronJobs/handleCronJob.ts @@ -62,7 +62,7 @@ export async function handleCronJobs(context: Context = github.context): Promise // Check to see if any of the promises failed for (const result of results) { if (result instanceof Error) { - throw new TypeError(`error handling issue comment: ${result}`) + throw new TypeError(`error handling cron job: ${result}`) } } }) diff --git a/src/pullReq/handlePullReq.ts b/src/pullReq/handlePullReq.ts index 1b5267e..a80aee4 100644 --- a/src/pullReq/handlePullReq.ts +++ b/src/pullReq/handlePullReq.ts @@ -72,7 +72,7 @@ export async function handlePullReq(context: Context = github.context): Promise< .then((results) => { for (const result of results) { if (result instanceof Error) { - throw new TypeError(`error handling issue comment: ${result}`) + throw new TypeError(`error handling pull request: ${result}`) } } })