Question: dev mode: 500 errors - not displayed (config.consider_all_requests_local not honored)

I’m running dev mode, but all I see is “We’re sorry, but something went wrong.” when i get a 500. How can I fix this?

I believe I saw some fancy HTML version with details before, but now I only get a small box

Hi! I think what you’re looking for is config.consider_all_requests_local = true in config/development.rb

Hi Bruno, That value appears to already be set to true. Do you have any other ideas?

A git bisect tells me this problem started occurring I upgraded rails:

-gem 'rails', '~> 6.0.0'
+gem 'rails', '~> 6.1.0'

I tried upgrading to rails 6.1.4 but the problem persists

I also got this after upgrading to rails 6.1, have tried but still get it I also have this in my development.rb: config.consider_all_requests_local = true

Did you find a solution @kingfoo

Also I’ve checked my development.rb vs the default for and it’s identical except for adding a host via config.hosts for my local puma dev.