lib/geocoder/lookups/base.rb in geocoder-1.2.1 vs lib/geocoder/lookups/base.rb in geocoder-1.2.2

- old
+ new

@@ -167,9 +167,11 @@ # def fetch_data(query) parse_raw_data fetch_raw_data(query) rescue SocketError => err raise_error(err) or warn "Geocoding API connection cannot be established." + rescue Errno::ECONNREFUSED => err + raise_error(err) or warn "Geocoding API connection refused." rescue TimeoutError => err raise_error(err) or warn "Geocoding API not responding fast enough " + "(use Geocoder.configure(:timeout => ...) to set limit)." end