Skip to content

Commit

Permalink
update message
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed Mar 29, 2024
1 parent c066652 commit 85f7bf8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ export class Action {

try {
if (!role || !role.trim()) {
throw new Error(`Unknown or missing role: ${role}`);
throw new Error(
`Unknown or missing role. Please make sure DEPLOYMENT_ROLE is set in GitHub Actions Variables.`,
);
}

let client = new STSClient({ region });
Expand Down

0 comments on commit 85f7bf8

Please sign in to comment.