BetterErrors / better_errors

Better error page for Rack apps
MIT License
6.88k stars 437 forks source link

Latest Rack v2.2.0 is breaking this gem #446

Closed kapso closed 4 years ago

kapso commented 4 years ago
NoMethodError (undefined method `reject' for nil:NilClass):

rack (2.2.0) lib/rack/request.rb:623:in `reject_trusted_ip_addresses'
rack (2.2.0) lib/rack/request.rb:363:in `ip'
better_errors (2.5.1) lib/better_errors/middleware.rb:67:in `allow_ip?'
better_errors (2.5.1) lib/better_errors/middleware.rb:56:in `call'
actionpack (6.0.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
rack (2.2.0)
gem 'better_errors', '2.5.1'
gem 'rails', '6.0.2.1'

ruby '2.7.0'
kapso commented 4 years ago

Looks like rack (2.2.1) has fixed the issue.