From 85f7bf81d05ce7e82e1651605b9b2ce39f772255 Mon Sep 17 00:00:00 2001 From: Christian Nuss Date: Fri, 29 Mar 2024 12:57:55 -0400 Subject: [PATCH] update message --- src/action.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 3ab9619..061955c 100644 --- a/src/action.ts +++ b/src/action.ts @@ -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 });