mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Added logging
This commit is contained in:
parent
94b7c1fc77
commit
3e21b035b7
2 changed files with 2 additions and 0 deletions
|
@ -1532,6 +1532,7 @@ class Probe
|
|||
self::$istimeout = true;
|
||||
return $short ? false : [];
|
||||
}
|
||||
Logger::debug('Fetched public key', ['Content-Type' => $curlResult->getHeader('Content-Type'), 'url' => $pubkey]);
|
||||
$pubkey = $curlResult->getBody();
|
||||
}
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@ class Salmon
|
|||
}
|
||||
} elseif (Strings::normaliseLink($ret[$x]) == 'http://') {
|
||||
$ret[$x] = DI::httpClient()->fetch($ret[$x], 0, HttpClient::ACCEPT_DEFAULT);
|
||||
Logger::debug('Fetched public key', ['url' => $ret[$x]]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue