Permalink
Browse files

Pass on the original exception

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@30 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 2fc559a commit 38e5fe97be08109fb8a416238ff8e3aaacbfc703 @dhh dhh committed Nov 30, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/rescue.rb
@@ -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

0 comments on commit 38e5fe9

Please sign in to comment.