removed debug info
This commit is contained in:
parent
1fb840206c
commit
073d9cae9e
|
@ -63,8 +63,9 @@ class CheckController
|
|||
case 401:
|
||||
$result = 'Missing or wrong API Key';
|
||||
break;
|
||||
case 404:
|
||||
$result = '404 Not Found';
|
||||
default:
|
||||
echo __FILE__, __LINE__, $resultJSON;
|
||||
$result = 'Unhandled error: ' . $httpResponse;
|
||||
}
|
||||
} else {
|
||||
|
@ -73,7 +74,7 @@ class CheckController
|
|||
}
|
||||
curl_close(handle: $curl);
|
||||
return [
|
||||
'error' => true,
|
||||
'error' => $error,
|
||||
'data' => $result,
|
||||
'header' => $httpResponse ?? ''
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue