Added logging
This commit is contained in:
parent
791fc1d8b3
commit
e10bb40e1a
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue