More logging for the contact discovery

This commit is contained in:
Michael 2021-05-29 17:24:50 +00:00
parent b621d2c714
commit 0249048534

View File

@ -78,10 +78,12 @@ class Relation
{ {
$contact = Contact::getByURL($url); $contact = Contact::getByURL($url);
if (empty($contact)) { if (empty($contact)) {
Logger::info('Contact not found', ['url' => $url]);
return; return;
} }
if (!self::isDiscoverable($url, $contact)) { if (!self::isDiscoverable($url, $contact)) {
Logger::info('Contact is not discoverable', ['url' => $url]);
return; return;
} }