module Loga::Railtie::InitializeMiddleware::ExceptionsCatcher

Private Instance Methods

render_exception_with_loga(arg, exception) click to toggle source
# File lib/loga/railtie.rb, line 89
def render_exception_with_loga(arg, exception)
  env = arg.is_a?(ActionDispatch::Request) ? arg.env : arg
  env['loga.exception'] = exception
  render_exception_without_loga(arg, exception)
end