We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9ee0a commit abe54f5Copy full SHA for abe54f5
app/Services/Apis/GoogleGeoCodingAPI.php
@@ -85,9 +85,11 @@ public function getGeoCoordinates(AddressInfo $address_info)
85
$params['postal_code'] = urlencode($zip_code);
86
}
87
88
+ Log::warning("GoogleGeoCodingAPI::getGeoCoordinates", ['params' => $params]);
89
$response = $this->doRequest($params);
90
91
if($response['status'] != GoogleGeoCodingAPI::ResponseStatusOK){
92
+ Log::warning("GoogleGeoCodingAPI::getGeoCoordinates", ['response' => $response]);
93
throw new GeoCodingApiException($response['status']);
94
95
@@ -223,4 +225,4 @@ public function getAddressInfo(GeoCoordinatesInfo $coordinates)
223
225
isset($components['country']) ? $components['country'] : ''
224
226
);
227
-}
228
+}
0 commit comments