jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.07k stars 211 forks source link

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

Closed roele closed 3 weeks ago

roele commented 3 weeks ago

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.