diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/dependencies.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index ca418fe500..7a74884dc7 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -341,14 +341,14 @@ end class Object #:nodoc: def load(file, *extras) super(file, *extras) - rescue Object => exception + rescue Exception => exception # errors from loading file exception.blame_file! file raise end def require(file, *extras) super(file, *extras) - rescue Object => exception + rescue Exception => exception # errors from required file exception.blame_file! file raise end |