diff -r 917ae7c81790 location/geocoding/google.inc --- a/location/geocoding/google.inc Mon Sep 27 20:05:31 2010 -0400 +++ b/location/geocoding/google.inc Tue Sep 28 13:55:26 2010 -0400 @@ -130,6 +130,7 @@ preg_match('/(.*)<\/code>/', $http_reply->data, $status_code_match); $status_code = $status_code_match[1]; if ($status_code != 200) { + watchdog('location', t('Google geocoding returned: %status_code', array('%status_code' => $status_code))); return NULL; } @@ -137,6 +138,7 @@ preg_match('/Accuracy="([0-9])"/', $http_reply->data, $accuracy_code_match); $accuracy_code = $accuracy_code_match[1]; if ($accuracy_code < variable_get('location_geocode_' . $location['country'] . 'google_accuracy_code', variable_get('location_geocode_google_minimum_accuracy', '3'))) { + watchdog('location',t('Google geocoding accuracy: %accuracy_code', array('%accuracy_code' => $accuracy_code))); return NULL; }