module ElasticAPM::Spies::ActionDispatchSpy::Ext

@api private

Public Instance Methods

render_exception(env, exception) click to toggle source
Calls superclass method
# File lib/elastic_apm/spies/action_dispatch.rb, line 27
def render_exception(env, exception)
  context = ElasticAPM.build_context(rack_env: env, for_type: :error)
  ElasticAPM.report(exception, context: context, handled: false)

  super(env, exception)
end