Skip to content

Commit

Permalink
Merge pull request #2136 from Automattic/fix/error-message-disabled-b…
Browse files Browse the repository at this point in the history
…y-inactivity

Change the error description for when a token is disabled due to inactivity
  • Loading branch information
mjangda authored Dec 4, 2024
2 parents 4f30fd5 + e25442a commit 5732714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function API( {
networkError.result?.code === 'token-disabled-inactivity'
) {
message =
'Your token has been disabled due to inactivity; please log out with `vip logout`, then try again.';
'Your token has expired due to inactivity; please log out with `vip logout`, then try again.';
}
console.error( chalk.red( 'Unauthorized:' ), message );
process.exit( 1 );
Expand Down

0 comments on commit 5732714

Please sign in to comment.