Added logging

This commit is contained in:
Michael 2018-03-13 21:10:19 +00:00
parent c20a42c889
commit bc84852682

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.");
logger('Contact ' . $contact_id . ' for user ' . $nick . " wasn't found - ignored. XML: " . $xml);
hub_post_return();
}
}