diff --git a/dist/index.js b/dist/index.js index c96d37a93..01ff81bb5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -76,6 +76,7 @@ function run() { pullRequest = result.data; } catch (error) { + core.debug(`#${error.message}`); core.warning(`Could not find pull request #${prNumber}, skipping`); continue; } diff --git a/src/labeler.ts b/src/labeler.ts index 272e3af2e..0cbff84de 100644 --- a/src/labeler.ts +++ b/src/labeler.ts @@ -42,6 +42,7 @@ export async function run() { }); pullRequest = result.data; } catch (error: any) { + core.debug(`#${error.message}`); core.warning(`Could not find pull request #${prNumber}, skipping`); continue; }