method
call
rails latest stable - Class:
ActionController::Failsafe
call(env)public
No documentation available.
# File actionpack/lib/action_controller/failsafe.rb, line 25
def call(env)
@app.call(env)
rescue Exception => exception
# Reraise exception in test environment
if defined?(Rails) && Rails.env.test?
raise exception
else
failsafe_response(exception)
end
end