Skip to content

Conversation

@eduardoRoth
Copy link
Member

This PR add a safe-fail method for each fetch call to GitHub API in case the API responds with status 401.

On a 401 status response, CLI will try to generate a new access_token with the saved refresh_token, if it succeeds, then it will retry the API call; if it fails, then it will throw the Unauthorized error.

@eduardoRoth eduardoRoth requested a review from a team as a code owner December 10, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants