5 6 7 8 9
# File 'lib/active_error/railtie.rb', line 5 def report(exception, context:, handled:, **_opts) return if Rails.env.local? || handled Captor.new(exception:, request: context[:active_error_request]).capture end