Closed
Description
It used to be that clients might make API calls like:
repos, resp, err := client.Repositories.ListByOrg(org, opt)
if err != nil {
rate := client.Rate()
if rate.Remaining == 0 {
//...
}
//...
}
but after #555, it turns out that checkRateLimitBeforeDo
will return an error without rate information.
I have a PR on the way that addresses this issue.
Metadata
Metadata
Assignees
Labels
No labels