From 60adb0560261ebcfbba20a40b34a96fc8b71a84c Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Thu, 16 Jun 2022 17:03:43 +0530 Subject: [PATCH] Update main.js --- lib/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.js b/lib/main.js index 78ff7613..48dd7f6a 100644 --- a/lib/main.js +++ b/lib/main.js @@ -145,7 +145,7 @@ function main() { } } catch (error) { - core.error(`${error.message}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`); + core.error(`${error.message.slice(':')[1]}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`); } } // Attempting Az cli login