diff --git a/lib/main.js b/lib/main.js index 91b2ce24..28d974fe 100644 --- a/lib/main.js +++ b/lib/main.js @@ -145,7 +145,7 @@ function main() { } } catch (error) { - core.error(`${error.message.slice(':')}. Could not get ID token for authentication. Please make sure to give write permissions to id-token in the workflow.`); + core.error(`${error.message.split(':')[1]}. Please make sure to give write permissions to id-token in the workflow.`); } } // Attempting Az cli login