|
@@ -64,7 +64,7 @@ function http_request($url, $params = array(), $method = 'GET', $multi = false,
|
|
|
if($response === false) {
|
|
|
$err = curl_error($ci);
|
|
|
$net_errno = curl_errno($ci);
|
|
|
- Log::record("netmodule http_request errno={$net_errno} err={$err}",Log::ERR);
|
|
|
+ Log::record("netmodule http_request errno={$net_errno} err={$err} url={$url}",Log::ERR);
|
|
|
}
|
|
|
|
|
|
curl_close($ci);
|
|
@@ -97,7 +97,7 @@ function http_post_data($url, $body, $headers = array(),&$net_errno = 0)
|
|
|
if($response === false) {
|
|
|
$err = curl_error($ci);
|
|
|
$net_errno = curl_errno($ci);
|
|
|
- Log::record("netmodule http_post_data errno={$net_errno} err={$err}",Log::ERR);
|
|
|
+ Log::record("netmodule http_post_data errno={$net_errno} err={$err} url={$url}",Log::ERR);
|
|
|
}
|
|
|
curl_close($ci);
|
|
|
|
|
@@ -157,7 +157,7 @@ function https_request($url, $params = array(), $method = 'GET', $multi = false,
|
|
|
if($response === false) {
|
|
|
$err = curl_error($ci);
|
|
|
$net_errno = curl_errno($ci);
|
|
|
- Log::record("netmodule https_request errno={$net_errno} err={$err}",Log::ERR);
|
|
|
+ Log::record("netmodule https_request errno={$net_errno} err={$err} url={$url}",Log::ERR);
|
|
|
}
|
|
|
curl_close($ci);
|
|
|
|