zerof function logging on request error
This commit is contained in:
parent
5844d1685d
commit
f101f967ab
@ -224,6 +224,10 @@ function zerof_request($path, $query, $timeout = 900)
|
|||||||
print "ZEROF response code ".$http_code."\n";
|
print "ZEROF response code ".$http_code."\n";
|
||||||
if($http_code != 200)
|
if($http_code != 200)
|
||||||
{
|
{
|
||||||
|
print curl_error($request);
|
||||||
|
print "\n";
|
||||||
|
print "\n";
|
||||||
|
|
||||||
print_r($response);
|
print_r($response);
|
||||||
print "\n";
|
print "\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user