lib/httpx/resolver/multi.rb in httpx-0.22.4 vs lib/httpx/resolver/multi.rb in httpx-0.22.5

- old
+ new

@@ -62,15 +62,10 @@ def on_resolver_connection(connection) emit(:resolve, connection) end def on_resolver_error(connection, error) - @errors[connection] << error - - return unless @errors[connection].size >= @resolvers.size - - errors = @errors.delete(connection) - emit(:error, connection, errors.first) + emit(:error, connection, error) end def on_resolver_close(resolver) emit(:close, resolver) end