Skip to content

collinsauve/Octokit-toomanyrequests-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octokit-toomanyrequests-error

Reproducing what looks like a bug in Octokit

To reproduce:

bundle install
bundle exec pry

Within pry:

require 'octokit'
raise Octokit::TooManyRequests

Should raise this error:

NameError: uninitialized constant Octokit::RateLimit

     @context = Octokit::RateLimit.from_response(@response)
                       ^^^^^^^^^^^

from ~/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/octokit-4.23.0/lib/octokit/error.rb:39:in `build_error_context'

About

Reproducing what looks like a bug in Octokit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages