module NewRelic::Agent::Instrumentation::Rails3::Errors
Public Instance Methods
newrelic_notice_error(exception, custom_params = {})
click to toggle source
@api public @deprecated
# File lib/new_relic/agent/instrumentation/rails3/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, :metric => newrelic_metric_path, :custom_params => custom_params) end