]> git.mxchange.org Git - friendica.git/commitdiff
Added logging
authorMichael <heluecht@pirati.ca>
Wed, 16 Aug 2017 04:53:15 +0000 (04:53 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 16 Aug 2017 04:53:15 +0000 (04:53 +0000)
include/dfrn.php

index 79482424bdc60ad6ff3f1bf19457ed76fe623674..8484f7c61995aef19062ea0cb0276db47f01eca0 100644 (file)
@@ -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);
        }