queue logging
This commit is contained in:
parent
9fb967ae34
commit
041df1c011
|
@ -259,7 +259,10 @@
|
||||||
logger('notifier: dfrndelivery: ' . $contact['name']);
|
logger('notifier: dfrndelivery: ' . $contact['name']);
|
||||||
$deliver_status = dfrn_deliver($owner,$contact,$atom);
|
$deliver_status = dfrn_deliver($owner,$contact,$atom);
|
||||||
|
|
||||||
|
logger('notifier: dfrn_delivery returns ' . $deliver_status);
|
||||||
|
|
||||||
if($deliver_status == (-1)) {
|
if($deliver_status == (-1)) {
|
||||||
|
logger('notifier: delivery failed: queuing message');
|
||||||
// queue message for redelivery
|
// queue message for redelivery
|
||||||
q("INSERT INTO `queue` ( `cid`, `created`, `last`, `content`)
|
q("INSERT INTO `queue` ( `cid`, `created`, `last`, `content`)
|
||||||
VALUES ( %d, '%s', '%s', '%s') ",
|
VALUES ( %d, '%s', '%s', '%s') ",
|
||||||
|
|
Loading…
Reference in a new issue