class Honeycomb::Rails::Middleware
Rails
middleware
Public Instance Methods
call_with_hook(env, span, &_add_field)
click to toggle source
Calls superclass method
Honeycomb::Rack#call_with_hook
# File lib/honeycomb/integrations/rails.rb, line 93 def call_with_hook(env, span, &_add_field) super rescue StandardError => e wrapped = ActionDispatch::ExceptionWrapper.new(nil, e) span.add_field "response.status_code", wrapped.status_code raise e end