Commit f0276967 authored by tufengqi's avatar tufengqi

fix

parent 63306171
......@@ -168,7 +168,7 @@ class CurlHttpClient
// Connect failed?
if (!$this->response) {
$error = 'CurlHttpClient: Could not connect to ' . $full_url;
\Yii::$app->fpf->error('http', curl_errno($this->curl_handle), __CLASS__, __FUNCTION__, ' ERROR:' .$error);
//\Yii::$app->fpf->error('http', curl_error($this->curl_handle), __CLASS__, __FUNCTION__, ' ERROR:' .$error);
curl_close($this->curl_handle);
$this->curl_handle = null;
throw new CurlHttpException($error, CurlHttpException::NOT_OPEN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment