diff --git a/src/branchprotection/BranchProtectionService.ts b/src/branchprotection/BranchProtectionService.ts index 671f07e5..669ff802 100644 --- a/src/branchprotection/BranchProtectionService.ts +++ b/src/branchprotection/BranchProtectionService.ts @@ -24,7 +24,7 @@ export class BranchProtectionService{ console.log(response.data); }).catch((error) => { core.warning("Error getting branch protection!"); - core.warning("Error: ", error.message); + core.warning("Error: ", error); }); } } \ No newline at end of file