@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | $curlResult = curl_exec($curl); |
49 | 49 | |
50 | - Debuger::dump($method . ' ' . $host . $url . ' ' . ($method == 'POST' || $method == 'PUT' || $method == 'DELETE' ? Curl::arrayPrettyPrint($params) : '') . '[' . (curl_errno($curl) ? 500 : curl_getinfo($curl)['http_code']) . ']'); |
|
50 | + Debuger::dump($method . ' ' . $host . $url . ' ' . ($method == 'POST' || $method == 'PUT' || $method == 'DELETE' ? Curl::arrayPrettyPrint($params) : '') . '[' . (curl_errno($curl) ? 500 : curl_getinfo($curl)['http_code']) . ']'); |
|
51 | 51 | |
52 | 52 | if (curl_errno($curl)) { |
53 | 53 | return Curl::getError('Curl error: ' . curl_errno($curl), 500); |