lib/geocoder/lookups/google_places_details.rb in geocoder-1.2.7 vs lib/geocoder/lookups/google_places_details.rb in geocoder-1.2.8

- old
+ new

@@ -27,14 +27,14 @@ case doc["status"] when "OK" return [doc["result"]] when "OVER_QUERY_LIMIT" - raise_error(Geocoder::OverQueryLimitError) || warn("Google Places Details API error: over query limit.") + raise_error(Geocoder::OverQueryLimitError) || Geocoder.log(:warn, "Google Places Details API error: over query limit.") when "REQUEST_DENIED" - raise_error(Geocoder::RequestDenied) || warn("Google Places Details API error: request denied.") + raise_error(Geocoder::RequestDenied) || Geocoder.log(:warn, "Google Places Details API error: request denied.") when "INVALID_REQUEST" - raise_error(Geocoder::InvalidRequest) || warn("Google Places Details API error: invalid request.") + raise_error(Geocoder::InvalidRequest) || Geocoder.log(:warn, "Google Places Details API error: invalid request.") end [] end