lib/geocoder/lookups/base.rb in geocoder-1.4.4 vs lib/geocoder/lookups/base.rb in geocoder-1.4.5

- old
+ new

@@ -284,10 +284,10 @@ end client.request(req) end rescue Timeout::Error raise Geocoder::LookupTimeout - rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH + rescue Errno::EHOSTUNREACH, Errno::ETIMEDOUT, Errno::ENETUNREACH, Errno::ECONNRESET raise Geocoder::NetworkError end def use_ssl? if supported_protocols == [:https]