lib/sibit/bestof.rb in sibit-0.21.6 vs lib/sibit/bestof.rb in sibit-0.21.7

- old
+ new

@@ -105,9 +105,11 @@ return yield @list unless @list.is_a?(Array) results = [] errors = [] @list.each do |api| results << yield(api) + rescue Sibit::NotSupportedError + # Just ignore it rescue Sibit::Error => e errors << e @log.info("The API #{api.class.name} failed at #{method}(): #{e.message}") if @verbose end if results.empty?