Skip to content

Commit

Permalink
Pass on the original exception
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@30 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Nov 30, 2004
1 parent 2fc559a commit 38e5fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/rescue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def rescue_action_locally(exception)
def perform_action_with_rescue #:nodoc:
begin
perform_action_without_rescue
rescue Exception => exception
rescue => exception
rescue_action(exception)
end
end
Expand Down

0 comments on commit 38e5fe9

Please sign in to comment.