From 74aa3499b0f424f81e656beda97228a1c808147a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 30 Apr 2018 12:41:56 +0000 Subject: [PATCH] Additional logging --- mod/dfrn_notify.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index e2f0336db6..10a0a792a7 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -208,7 +208,7 @@ function dfrn_dispatch_public($postdata) $contact = Contact::getDetailsByAddr($msg['author'], 0); if (!$contact) { logger('Contact not found for address ' . $msg['author']); - System::xmlExit(3, 'Contact not found'); + System::xmlExit(3, 'Contact ' . $msg['author'] . ' not found'); } // We now have some contact, so we fetch it @@ -222,7 +222,7 @@ function dfrn_dispatch_public($postdata) // This should never fail if (!DBM::is_result($importer)) { logger('Contact not found for address ' . $msg['author']); - System::xmlExit(3, 'Contact not found'); + System::xmlExit(3, 'Contact ' . $msg['author'] . ' not found'); } logger('Importing post from ' . $msg['author'] . ' with the public envelope.', LOGGER_DEBUG); @@ -246,7 +246,7 @@ function dfrn_dispatch_private($user, $postdata) $cid = Contact::getIdForURL($msg['author']); if (!$cid) { logger('Contact not found for address ' . $msg['author']); - System::xmlExit(3, 'Contact not found'); + System::xmlExit(3, 'Contact ' . $msg['author'] . ' not found'); } } @@ -259,7 +259,7 @@ function dfrn_dispatch_private($user, $postdata) // This should never fail if (!DBM::is_result($importer)) { logger('Contact not found for address ' . $msg['author']); - System::xmlExit(3, 'Contact not found'); + System::xmlExit(3, 'Contact ' . $msg['author'] . ' not found'); } // Set the user id. This is important if this is a public contact -- 2.39.5