Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: github API rate limiting could be handled more explicitly #2274

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

roele
Copy link
Contributor

@roele roele commented Jun 9, 2024

Fixes #2263 by adding a hint about GITHUB_API_TOKEN environment variable to the self-udpate command.

I don't see an easy way to set a more explicit error message as the underlying self_update crate simply throws a generic network error and the status code is lost or rather encoded in the error message.

@jdx jdx merged commit 9ae8952 into jdx:main Jun 9, 2024
10 checks passed
@roele roele deleted the issues/2263 branch June 9, 2024 21:13
triarius pushed a commit to triarius/mise that referenced this pull request Sep 18, 2024
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.

Github API rate limiting could be handled more explicitly
2 participants