module NewRelic::Agent::Instrumentation::Rails4::Errors
Public Instance Methods
newrelic_notice_error(exception, custom_params = {})
click to toggle source
@api public @deprecated
# File lib/new_relic/agent/instrumentation/rails4/errors.rb, line 12 def newrelic_notice_error(exception, custom_params = {}) NewRelic::Agent::Deprecator.deprecate("ActionController#newrelic_notice_error", "NewRelic::Agent#notice_error") NewRelic::Agent::Transaction.notice_error(exception, :custom_params => custom_params) end