]> git.mxchange.org Git - friendica.git/commitdiff
Changed logging
authorMichael <heluecht@pirati.ca>
Tue, 2 Jun 2020 06:47:44 +0000 (06:47 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 2 Jun 2020 06:47:44 +0000 (06:47 +0000)
src/Network/CurlResult.php

index 51ef77f54b7f70192be752228df31595ec20394a..d7e0e884c32481fa4a5077c7f5f60963da29cfb1 100644 (file)
@@ -168,7 +168,7 @@ class CurlResult
 
                if (!$this->isSuccess) {
                        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) {