From d108a7c039e6a15c5df8bbbdc6142f97b8d6b856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Fri, 8 Sep 2023 09:09:20 +0200 Subject: [PATCH] Added logging --- src/Pentest/PentestService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Pentest/PentestService.ts b/src/Pentest/PentestService.ts index 3ee2b0b1..296ec292 100644 --- a/src/Pentest/PentestService.ts +++ b/src/Pentest/PentestService.ts @@ -23,12 +23,12 @@ export class PentestService { console.log(`Owner: ${owner}`); console.log(`Repo: ${repo}`); - console.log('Going to get branch protection'); + console.log('Going to get Pentest tickets from github boards'); await octokit.rest.projects .listCards({ owner: owner, repo: repo, - column_id: 123456789, + column_id: null, }) .then(async (response) => { console.log('Got the cards'); @@ -54,7 +54,7 @@ export class PentestService { }) .catch((error) => { core.warning('Error getting cards!'); - core.warning('Error: ', error.message); + console.log('Error: ', error); }); // owner: owner,