class ActionDispatch::ShowExceptions
def call(env)
def call(env) @app.call(env) rescue Exception => exception if env['action_dispatch.show_exceptions'] == false raise exception else render_exception(env, exception) end end
def call(env) @app.call(env) rescue Exception => exception if env['action_dispatch.show_exceptions'] == false raise exception else render_exception(env, exception) end end