18
This commit is contained in:
@@ -60,6 +60,8 @@ function findBestDrivers($con, $lat, $lng, $carType) {
|
||||
$info = curl_getinfo($ch);
|
||||
curl_close($ch);
|
||||
|
||||
error_log("[findBestDrivers] HTTP Code: " . $info['http_code'] . " Response: " . $response);
|
||||
|
||||
if ($info['http_code'] !== 200) return [];
|
||||
|
||||
$json = json_decode($response, true);
|
||||
|
||||
Reference in New Issue
Block a user