diff --git a/src/branchprotection/BranchProtectionService.ts b/src/branchprotection/BranchProtectionService.ts index 6eb21ab1..43ee288d 100644 --- a/src/branchprotection/BranchProtectionService.ts +++ b/src/branchprotection/BranchProtectionService.ts @@ -33,7 +33,7 @@ export class BranchProtectionService { core.exportVariable('numberOfReviewers', numberOfReviewers); } catch (error) { - console.log(typeof error); + console.log('error', error); core.warning('Error getting branch protection!'); console.log('Error:', error.message); }