From 65b8926e040e2919f0837ec949648944c34564cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Fri, 8 Sep 2023 08:28:36 +0200 Subject: [PATCH] Added logging --- src/branchprotection/BranchProtectionService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/branchprotection/BranchProtectionService.ts b/src/branchprotection/BranchProtectionService.ts index 79fb829f..a6efbdcc 100644 --- a/src/branchprotection/BranchProtectionService.ts +++ b/src/branchprotection/BranchProtectionService.ts @@ -25,8 +25,8 @@ export class BranchProtectionService { console.log(response.data); }) .catch((error) => { - console.log('Error getting branch protection!'); - core.warning('Error: ', error.message); + core.warning('Error getting branch protection!'); + console.log('Error: ', error); }); } }