Skip to content

Commit

Permalink
reverted config.action_dispatch.show_exceptions back to :none
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Jan 14, 2025
1 parent 68d9ba1 commit e51c683
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
config.cache_store = :memory_store
config.settings_cache_store = ActiveSupport::Cache::MemoryStore.new

# Render exception templates for rescuable exceptions and raise for other exceptions.
config.action_dispatch.show_exceptions = :rescuable
# Raise exceptions instead of rendering exception templates.
config.action_dispatch.show_exceptions = :none

# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
Expand Down

0 comments on commit e51c683

Please sign in to comment.