lower loglevel
This commit is contained in:
parent
a74d88c4ee
commit
d524a9569f
1 changed files with 1 additions and 3 deletions
|
@ -141,7 +141,7 @@ class HTTPRequest implements IHTTPRequest
|
||||||
curl_setopt($ch, CURLOPT_ENCODING, '');
|
curl_setopt($ch, CURLOPT_ENCODING, '');
|
||||||
|
|
||||||
if (!empty($opts['headers'])) {
|
if (!empty($opts['headers'])) {
|
||||||
$this->logger->warning('Wrong option \'headers\' used.');
|
$this->logger->notice('Wrong option \'headers\' used.');
|
||||||
@curl_setopt($ch, CURLOPT_HTTPHEADER, $opts['headers']);
|
@curl_setopt($ch, CURLOPT_HTTPHEADER, $opts['headers']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,8 +184,6 @@ class HTTPRequest implements IHTTPRequest
|
||||||
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||||
}
|
}
|
||||||
|
|
||||||
$logger = $this->logger;
|
|
||||||
|
|
||||||
$s = @curl_exec($ch);
|
$s = @curl_exec($ch);
|
||||||
$curl_info = @curl_getinfo($ch);
|
$curl_info = @curl_getinfo($ch);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue