Skip to content

Commit

Permalink
Test error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hampus-andersson-op committed Apr 18, 2024
1 parent 96dd8b8 commit b4278d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/branchprotection/BranchProtectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class BranchProtectionService {
core.info(error.status);

// Status code '404' means 'Branch not protected'
core.notice('Branch protection is not enabled for this repository', {
core.notice(error.message, {
title: 'Branch protection control',
});
core.exportVariable('numberOfReviewers', 0);
Expand Down

0 comments on commit b4278d1

Please sign in to comment.