Module: Atatus::Spies::ActionDispatchSpy::Ext Private
- Defined in:
- lib/atatus/spies/action_dispatch.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#render_exception(env, exception) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
27 28 29 30 31 32 |
# File 'lib/atatus/spies/action_dispatch.rb', line 27 def render_exception(env, exception) context = Atatus.build_context(rack_env: env, for_type: :error) Atatus.report(exception, context: context, handled: false) super(env, exception) end |