Browse files

Widen too narrow rescue

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 924ef18 commit cad830fb20e836157efee98b71c76611eb3f38c6 @seckar seckar committed Aug 17, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/dependencies.rb
View
2 activesupport/lib/active_support/dependencies.rb
@@ -79,7 +79,7 @@ def require_or_load(file_name, const_path = nil)
else
enable_warnings { result = load_file(*load_args) }
end
- rescue
+ rescue Exception
loaded.delete expanded
raise
end

0 comments on commit cad830f

Please sign in to comment.