You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be reproduced easily with a new project that only depends on Octokit 4.23, and using pry to raise it. I have put together a repository with that reproduction here:
`Octokit::Error#build_error_context` uses `RateLimit.from_
response` but does not require the file for `RateLimit`
explicitly.
This can lead to cases where the `RateLimit` module is not
available when needed, causing an error.
This requires the file explicitly where the module is used.
Fixes#1422.
`Octokit::Error#build_error_context` uses `RateLimit.from_
response` but does not require the file containing
`RateLimit` explicitly.
This can lead to cases where the `RateLimit` module is not
available when needed, causing an error. This requires the
file explicitly where the module is used.
Fixes#1422.
In 4.22 we had a unit test that raised this error, so we could test that our code behaved accordingly. With the upgrade to 4.23, when we try to
we get the following:
This can be reproduced easily with a new project that only depends on Octokit 4.23, and using
pry
to raise it. I have put together a repository with that reproduction here:https://github.com/collinsauve/Octokit-toomanyrequests-error
Additionally, the same issue cannot be reproduced in 4.22 as shown in this branch of that repository:
https://github.com/collinsauve/Octokit-toomanyrequests-error/tree/4.22
The text was updated successfully, but these errors were encountered: