From: Michael Date: Wed, 16 Aug 2017 04:53:15 +0000 (+0000) Subject: Added logging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e10bb40e1a1c1ba3659e267e6d38847b4b421bbb;p=friendica.git Added logging --- 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); }