Skip to content

Commit

Permalink
Don't ignore rescue_from by default in the test env
Browse files Browse the repository at this point in the history
  • Loading branch information
Dantemss committed Oct 17, 2024
1 parent dd3005d commit bdd6657
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/rescue_from.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
OpenStax::RescueFrom.configure do |config|
# Show the default Rails exception debugging page on dev
config.raise_exceptions = EnvUtilities.load_boolean(
name: 'RAISE', default: Rails.application.config.consider_all_requests_local
name: 'RAISE',
default: Rails.env.development? && Rails.application.config.consider_all_requests_local
)

config.app_name = 'Accounts'
Expand Down

0 comments on commit bdd6657

Please sign in to comment.