Skip to content

Commit

Permalink
chore: added errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 23, 2024
1 parent 481c1dc commit 50a2892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validate-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ main()
console.log("Configuration validated.");
return payload;
})
.catch(({ errors }) => {
.catch((errors) => {
console.error("Failed to validate configuration", errors);
core.setFailed(errors);
return errors;
Expand Down

0 comments on commit 50a2892

Please sign in to comment.