Sha256: bf8b5717d88b3d7a98821ee3ef99ff4c9ecfd303186825ff4ba0bc99cf805b00

Contents?: true

Size: 407 Bytes

Versions: 13

Compression:

Stored size: 407 Bytes

Contents

module Raven
  class Rails
    module Middleware
      module DebugExceptionsCatcher
        def self.included(base)
          base.send(:alias_method_chain, :render_exception, :raven)
        end

        def render_exception_with_raven(env, exception)
          Raven::Rack.capture_exception(exception, env)
          render_exception_without_raven(env, exception)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sentry-raven-0.15.4 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.15.3 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.15.2 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.15.1 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.15.0 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.14.0 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.13.3 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.13.2 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.13.1 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.13.0 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.12.3 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.12.2 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.12.1 lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb