Sha256: 3e0797fd6b9a71e34fe714c4d736b9657c77b351653b2f41b42f15c23221ba00
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
module Raven module Rails module Middleware module DebugExceptionsCatcher def self.included(base) base.send(:alias_method_chain, :render_exception, :airbrake) end def render_exception_with_airbrake(env, exception) evt = Raven::Event.capture_rack_exception(exception, env) Raven.send(evt) if evt render_exception_without_airbrake(env, exception) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-raven-0.1 | lib/raven/rails/middleware/debug_exceptions_catcher.rb |