From e10bb40e1a1c1ba3659e267e6d38847b4b421bbb Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 16 Aug 2017 04:53:15 +0000 Subject: [PATCH] Added logging --- include/dfrn.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/dfrn.php b/include/dfrn.php index 79482424bd..8484f7c619 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1285,6 +1285,10 @@ class dfrn { return -11; } + if (!empty($res->message)) { + logger('Delivery returned status '.$res->status.' - '.$res->message, LOGGER_DEBUG); + } + return intval($res->status); } -- 2.39.5