Give initIncomingMessage envelope in background.js error handling
FREEBIE
This commit is contained in:
parent
b33c5c4c07
commit
cf5f50cfab
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var envelope = ev.proto;
|
var envelope = ev.proto;
|
||||||
var message = initIncomingMessage(envelope.source, envelope.timestamp.toNumber());
|
var message = initIncomingMessage(envelope);
|
||||||
|
|
||||||
return message.saveErrors(e).then(function() {
|
return message.saveErrors(e).then(function() {
|
||||||
var id = message.get('conversationId');
|
var id = message.get('conversationId');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue