Issue 8675: reduce requests of foreign pages
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
namespace Friendica\Network;
|
||||
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Network\HTTPException\InternalServerErrorException;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
@@ -166,7 +167,7 @@ class CurlResult
|
||||
}
|
||||
|
||||
if (!$this->isSuccess) {
|
||||
Logger::log('error: ' . $this->url . ': ' . $this->returnCode . ' - ' . $this->error, Logger::INFO);
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user