lib/berkshelf/installer.rb in berkshelf-7.2.1 vs lib/berkshelf/installer.rb in berkshelf-7.2.2
- old
+ new
@@ -17,16 +17,16 @@
end
def build_universe
berksfile.sources.collect do |source|
Thread.new do
- begin
- Berkshelf.formatter.msg("Fetching cookbook index from #{source}...")
- source.build_universe
- rescue Berkshelf::APIClientError => ex
- Berkshelf.formatter.warn "Error retrieving universe from source: #{source}"
- Berkshelf.formatter.warn " * [#{ex.class}] #{ex}"
- end
+
+ Berkshelf.formatter.msg("Fetching cookbook index from #{source}...")
+ source.build_universe
+ rescue Berkshelf::APIClientError => ex
+ Berkshelf.formatter.warn "Error retrieving universe from source: #{source}"
+ Berkshelf.formatter.warn " * [#{ex.class}] #{ex}"
+
end
end.map(&:join)
end
# @return [Array<Berkshelf::CachedCookbook>]