More logging for the contact discovery

This commit is contained in:
Michael 2021-05-29 17:24:50 +00:00
parent b621d2c714
commit 0249048534
1 changed files with 2 additions and 0 deletions

View File

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