rails--rails/actionpack/lib
Henne Vogelsang 1966806cd0
Fix instrumenting internal server errors
In case of an exception we never reach setting the status in the
payload so it is unset afterward.

Let's catch the exception and set status based on the exception class name.
Then re-raise it.

This is basically the equivalent of what happens in

ActionController::LogSubscriber.process_action
2021-04-22 17:19:20 +02:00
..
abstract_controller Autocorrect Rubocop roles 2021-04-13 18:32:25 +00:00
action_controller Fix instrumenting internal server errors 2021-04-22 17:19:20 +02:00
action_dispatch Autocorrect Rubocop roles 2021-04-13 18:32:25 +00:00
action_pack Rails 6.2 is now Rails 7.0 2021-02-04 16:47:16 +00:00
abstract_controller.rb Make sure to require active_support.rb before requiring active_support/rails.rb 2019-07-12 18:30:58 +09:00
action_controller.rb Removing monkeypatched `URI#unescape` since main branch follows ruby 2.7 2021-02-07 08:20:17 -03:00
action_dispatch.rb Bump license years to 2021 [ci skip] 2021-01-01 12:21:20 +09:00
action_pack.rb Bump license years to 2021 [ci skip] 2021-01-01 12:21:20 +09:00