Sha256: f1abae0dfed659aca24a735eafbf4f0da4a755a52c12b83c1bb83439a6c32688

Contents?: true

Size: 408 Bytes

Versions: 18

Compression:

Stored size: 408 Bytes

Contents

module Raven
  module 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

18 entries across 18 versions & 2 rubygems

Version Path
sentry-raven-0.6.1 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.12.0 lib/raven/rails/middleware/debug_exceptions_catcher.rb
mustwin-sentry-raven-0.11.2 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.11.2 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.11.1 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.10.1 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.9.4 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.9.3 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.9.2 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.9.1 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.9.0 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.8.0 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.7.1 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.6.0 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.5.0 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.4.8 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.4.7 lib/raven/rails/middleware/debug_exceptions_catcher.rb
sentry-raven-0.4.6 lib/raven/rails/middleware/debug_exceptions_catcher.rb