aws / aws/git-remote-codecommit
BUG: Display Specific AWS SSO Profile in Token Expiry Error Messages
Open
- Dominant language
- Python
- Stars
- 289
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
When executing Git commands like `git push`, `git pull`, or `git fetch` without first performing an AWS SSO login, the following error occurs:
```
botocore.exceptions.TokenRetrievalError: Error when retrieving token from sso: Token has expired and refresh failed
```
This error should be caught and replaced with a more informative message that specifies the AWS SSO profile requiring login. This enhancement is particularly useful for environments with multiple AWS SSO profiles, helping users easily identify which profile needs to be logged in for the current AWS CodeCommit repository.
Contributor guide
Assessment
This issue has not been assessed yet.