Changed logging
This commit is contained in:
parent
e379698227
commit
736f69c33a
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class CurlResult
|
||||||
|
|
||||||
if (!$this->isSuccess) {
|
if (!$this->isSuccess) {
|
||||||
Logger::error('error', ['url' => $this->url, 'code' => $this->returnCode, 'error' => $this->error, 'callstack' => System::callstack(20)]);
|
Logger::error('error', ['url' => $this->url, 'code' => $this->returnCode, 'error' => $this->error, 'callstack' => System::callstack(20)]);
|
||||||
Logger::log('debug: ' . print_r($this->info, true), Logger::DATA);
|
Logger::debug('debug', ['info' => $this->info]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->isSuccess && $this->errorNumber == CURLE_OPERATION_TIMEDOUT) {
|
if (!$this->isSuccess && $this->errorNumber == CURLE_OPERATION_TIMEDOUT) {
|
||||||
|
|
Loading…
Reference in a new issue