Merge pull request #10333 from annando/more-logging

More logging for the contact discovery
This commit is contained in:
Philipp 2021-05-29 19:40:30 +02:00 committed by GitHub
commit 0b9346c7c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}