Let server know that we failed to process message on cache error

pull/1/head
Scott Nonnenberg 7 years ago
parent e086d521f1
commit 85ab4e567f

@ -180,6 +180,7 @@ MessageReceiver.prototype.extend({
this.queueEnvelope(envelope);
},
error => {
request.respond(500, 'Failed to cache message');
window.log.error(
'handleRequest error trying to add message to cache:',
error && error.stack ? error.stack : error

Loading…
Cancel
Save