lib/berkshelf/locations/base.rb in berkshelf-6.3.4 vs lib/berkshelf/locations/base.rb in berkshelf-7.0.0
- old
+ new
@@ -59,10 +59,10 @@
raise NotACookbook.new(path)
end
begin
cookbook = CachedCookbook.from_path(path)
- rescue Ridley::Errors::RidleyError => e
+ rescue => e
raise InternalError, "The following error occurred while reading the " \
"cookbook `#{dependency.name}':\n#{e.class}: #{e.message}"
end
unless @dependency.version_constraint.satisfies?(cookbook.version)