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); }