lib/raven/rails/middleware/debug_exceptions_catcher.rb in sentry-raven-0.4.5 vs lib/raven/rails/middleware/debug_exceptions_catcher.rb in sentry-raven-0.4.6

- old
+ new

@@ -5,11 +5,10 @@ def self.included(base) base.send(:alias_method_chain, :render_exception, :raven) end def render_exception_with_raven(env, exception) - evt = Raven::Event.capture_rack_exception(exception, env) - Raven.send(evt) if evt + Raven::Rack.capture_exception(exception, env) render_exception_without_raven(env, exception) end end end end