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