Added logging

This commit is contained in:
Michael 2017-08-16 04:53:15 +00:00
parent 791fc1d8b3
commit e10bb40e1a
1 changed files with 4 additions and 0 deletions

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