diff --git a/lib/geocoder/lookup.rb b/lib/geocoder/lookup.rb index 95327acaba1ec66e5eac04033b188f8abaf1da5d..6db0de185956cdf78d6fe039bad1b7f0c0722fbb 100644 --- a/lib/geocoder/lookup.rb +++ b/lib/geocoder/lookup.rb @@ -50,16 +50,16 @@ module Geocoder begin doc = ActiveSupport::JSON.decode(fetch_data(query, reverse)) rescue SocketError - warn "Google Geocoder API connection cannot be established." + warn "Google Geocoding API connection cannot be established." rescue TimeoutError - warn "Google Geocoder API not responding fast enough " + + warn "Google Geocoding API not responding fast enough " + "(see Geocoder::Configuration.timeout to set limit)." end case doc['status']; when "OK" doc when "OVER_QUERY_LIMIT" - warn "Google Geocoder API error: quota exceeded." + warn "Google Geocoding API error: quota exceeded." end end