Improved logging

This commit is contained in:
Michael 2018-03-13 21:33:45 +00:00
parent bc84852682
commit aff99b32fd

View File

@ -108,7 +108,7 @@ function pubsub_post(App $a)
logger('No record for ' . $nick .' with contact id ' . $contact_id . ' - using '.$author['contact-id'].' instead.');
}
if (!DBM::is_result($contact)) {
logger('Contact ' . $contact_id . ' for user ' . $nick . " wasn't found - ignored. XML: " . $xml);
logger('Contact ' . $author["author-link"] . ' (' . $contact_id . ') for user ' . $nick . " wasn't found - ignored. XML: " . $xml);
hub_post_return();
}
}