mirror of
https://github.com/github/rails.git
synced 2026-01-28 07:48:00 -05:00
Dispatcher processes rescued actions with the same controller that processed the request. Closes #4625.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
|
||||
|
||||
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
|
||||
|
||||
* Ensure the logger is initialized. #5629 [mike@clarkware.com]
|
||||
|
||||
@@ -39,7 +39,7 @@ class Dispatcher
|
||||
end
|
||||
rescue Object => exception
|
||||
failsafe_response(output, '500 Internal Server Error', exception) do
|
||||
ActionController::Base.process_with_exception(request, response, exception).out(output)
|
||||
ActionController.process_with_exception(request, response, exception).out(output)
|
||||
end
|
||||
ensure
|
||||
# Do not give a failsafe response here.
|
||||
|
||||
Reference in New Issue
Block a user