diff options
author | Genadi Samokovarov <gsamokovarov@gmail.com> | 2018-12-28 14:21:30 +0200 |
---|---|---|
committer | Genadi Samokovarov <gsamokovarov@gmail.com> | 2019-04-19 14:15:22 +0900 |
commit | 54df392bc51dcf424f07ccc10157a5969256ba73 (patch) | |
tree | 619682801ff05e6af5475f6ed303001e29ebed55 /railties/lib | |
parent | 255a2422a3082fc1c194610ab43c08e755d16c9a (diff) | |
download | rails-54df392bc51dcf424f07ccc10157a5969256ba73.tar.gz rails-54df392bc51dcf424f07ccc10157a5969256ba73.tar.bz2 rails-54df392bc51dcf424f07ccc10157a5969256ba73.zip |
Manage ActionDispatch::ActionableExceptions from the default middleware stack
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/default_middleware_stack.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/application/default_middleware_stack.rb b/railties/lib/rails/application/default_middleware_stack.rb index 193cc59f3a..9800b19274 100644 --- a/railties/lib/rails/application/default_middleware_stack.rb +++ b/railties/lib/rails/application/default_middleware_stack.rb @@ -49,6 +49,7 @@ module Rails middleware.use ::Rails::Rack::Logger, config.log_tags middleware.use ::ActionDispatch::ShowExceptions, show_exceptions_app middleware.use ::ActionDispatch::DebugExceptions, app, config.debug_exception_response_format + middleware.use ::ActionDispatch::ActionableExceptions unless config.cache_classes middleware.use ::ActionDispatch::Reloader, app.reloader |