Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean up copy-paste from airbrake gem ;)

  • Loading branch information...
commit 6801abb15946976099e9145f5af95ac621b98a0d 1 parent c4c583f
Justin Giancola elucid authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/raven/rails/middleware/debug_exceptions_catcher.rb
6 lib/raven/rails/middleware/debug_exceptions_catcher.rb
View
@@ -3,13 +3,13 @@ module Rails
module Middleware
module DebugExceptionsCatcher
def self.included(base)
- base.send(:alias_method_chain, :render_exception, :airbrake)
+ base.send(:alias_method_chain, :render_exception, :raven)
end
- def render_exception_with_airbrake(env, exception)
+ def render_exception_with_raven(env, exception)
evt = Raven::Event.capture_rack_exception(exception, env)
Raven.send(evt) if evt
- render_exception_without_airbrake(env, exception)
+ render_exception_without_raven(env, exception)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.