Skip to content

Commit 8b8cef4

Browse files
Merge pull request rails#49967 from p8/railties/test-env-show-exceptions-comment
Update description for show_exceptions in environments/test.rb
2 parents e3deb75 + 155ec68 commit 8b8cef4

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Rails.application.configure do
2727
config.action_controller.perform_caching = false
2828
config.cache_store = :null_store
2929

30-
# Raise exceptions instead of rendering exception templates.
30+
# Render exception templates for rescuable exceptions and raise for other exceptions.
3131
config.action_dispatch.show_exceptions = :rescuable
3232

3333
# Disable request forgery protection in test environment.

0 commit comments

Comments
 (0)