When the GitHub API rate limit is reached, the command kbenv list remote returns a not enduser friendly error message:
~ kbenv list remote
An error was detected, exiting: json: cannot unmarshal object into Go value of type []versions.Page
~ curl --silent -L https://api.github.com/rate_limit | jq -Mr '.rate'
{
"limit": 60,
"remaining": 0,
"reset": 1690816864,
"used": 60,
"resource": "core"
}
~
Please improve the error message including a translation of the reset timestamp, hence the user knows, when this command will return useful information again.
When the GitHub API rate limit is reached, the command
kbenv list remote
returns a not enduser friendly error message:Please improve the error message including a translation of the reset timestamp, hence the user knows, when this command will return useful information again.