method
call
v4.0.2 -
Show latest stable
- Class:
ActionDispatch::ShowExceptions
call(env)public
No documentation available.
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 29
def call(env)
@app.call(env)
rescue Exception => exception
raise exception if env['action_dispatch.show_exceptions'] == false
render_exception(env, exception)
end