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

Require octokit/rate_limit from lib/octokit/error.rb so RateLimit is available #1425

Closed
wants to merge 1 commit into from

Commits on Jun 5, 2022

  1. Require octokit/rate_limit from lib/octokit/error.rb

    `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.
    timrogers committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    21aa077 View commit details
    Browse the repository at this point in the history