From 1f653d52e75b8906e38dc37ac20b34b30e6a82ad Mon Sep 17 00:00:00 2001 From: Lukas Meyer <1karu5@users.noreply.github.com> Date: Tue, 29 Aug 2023 22:47:58 +0200 Subject: [PATCH 1/2] Log error messages in debug --- src/labeler.ts | 1 + 1 file changed, 1 insertion(+) 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; } From aa379ec29ba534d22349120f28d26f9cec9869fb Mon Sep 17 00:00:00 2001 From: Lukas Meyer Date: Wed, 30 Aug 2023 09:42:57 +0200 Subject: [PATCH 2/2] update dist --- dist/index.js | 1 + 1 file changed, 1 insertion(+) 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; }