Sha256: 64fc6417801328cfa3b741f5f8f97fe3c56fbfc43c5343644235dcbd403f6df5
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 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_or_request, exception) env = env_or_request.respond_to?(:env) ? env_or_request.env : env_or_request Raven::Rack.capture_exception(exception, env) ensure render_exception_without_raven(env_or_request, exception) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sentry-raven-0.15.5 | lib/raven/integrations/rails/middleware/debug_exceptions_catcher.rb |