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); }); } }