Module: Raven::Rails::Overrides::DebugExceptionsCatcher
- Defined in:
- lib/raven/integrations/rails/overrides/debug_exceptions_catcher.rb
Instance Method Summary collapse
Instance Method Details
#render_exception(env_or_request, exception) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/raven/integrations/rails/overrides/debug_exceptions_catcher.rb', line 5 def render_exception(env_or_request, exception) begin env = env_or_request.respond_to?(:env) ? env_or_request.env : env_or_request Raven::Rack.capture_exception(exception, env) rescue # rubocop:disable Lint/HandleExceptions end super end |