Skip to content

Commit

Permalink
Build traced errors after the rescue chain finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Kayser committed Mar 2, 2010
1 parent d5bbe35 commit fbd2e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/agent/instrumentation/rails/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def newrelic_notice_error(exception, custom_params = {})
end

def rescue_action_with_newrelic_trace(exception)
NewRelic::Agent::Instrumentation::MetricFrame.notice_error exception, :request => request
rescue_action_without_newrelic_trace exception
NewRelic::Agent::Instrumentation::MetricFrame.notice_error exception, :request => request
end

# Compare with #alias_method_chain, which is not available in
Expand Down

0 comments on commit fbd2e0a

Please sign in to comment.