From db492222ceca042a55f9b5616a4ac205c163f94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Fri, 8 Sep 2023 08:53:35 +0200 Subject: [PATCH] Added logging --- src/branchprotection/BranchProtectionService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/branchprotection/BranchProtectionService.ts b/src/branchprotection/BranchProtectionService.ts index a6efbdcc..dab26733 100644 --- a/src/branchprotection/BranchProtectionService.ts +++ b/src/branchprotection/BranchProtectionService.ts @@ -26,7 +26,7 @@ export class BranchProtectionService { }) .catch((error) => { core.warning('Error getting branch protection!'); - console.log('Error: ', error); + console.log('Error: ', error.message); }); } }