Additional logging when we get delivery receipt for unknown msg
FREEBIE
This commit is contained in:
parent
4ef36cc95c
commit
f14ac69f2a
1 changed files with 12 additions and 1 deletions
|
@ -59,8 +59,19 @@
|
|||
}.bind(this));
|
||||
// TODO: consider keeping a list of numbers we've
|
||||
// successfully delivered to?
|
||||
} else {
|
||||
console.log(
|
||||
'No message for delivery receipt',
|
||||
receipt.get('source'),
|
||||
receipt.get('timestamp')
|
||||
);
|
||||
}
|
||||
}.bind(this));
|
||||
}.bind(this)).catch(function(error) {
|
||||
console.log(
|
||||
'DeliveryReceipts.onReceipt error:',
|
||||
error && error.stack ? error.stack : error
|
||||
);
|
||||
});
|
||||
}
|
||||
}))();
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue