Enhanced logging
This commit is contained in:
@@ -484,6 +484,11 @@ function ioServer($api_call, $data){
|
||||
//Check If errorcode is returned
|
||||
if($http_status['http_code'] == '403' || $http_status['http_code'] == '400') {$resp = generate_payload('NOK');}
|
||||
|
||||
if (debug){
|
||||
$message = $date.';'.$api_call;
|
||||
debuglog($message);
|
||||
}
|
||||
|
||||
//Response
|
||||
return $resp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user