From 736f69c33a00663018a4c56c01d5f37fd52c10b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 2 Jun 2020 06:47:44 +0000 Subject: [PATCH] Changed logging --- src/Network/CurlResult.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/CurlResult.php b/src/Network/CurlResult.php index 51ef77f54b..d7e0e884c3 100644 --- a/src/Network/CurlResult.php +++ b/src/Network/CurlResult.php @@ -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) {