Skip to content

Commit

Permalink
Added logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbokvad committed Sep 8, 2023
1 parent c41bf46 commit 65b8926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
}

0 comments on commit 65b8926

Please sign in to comment.