Added logging
This commit is contained in:
parent
94b7c1fc77
commit
3e21b035b7
|
@ -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