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

This commit is contained in:
Scott Nonnenberg 2018-08-08 15:03:36 -07:00
parent e086d521f1
commit 85ab4e567f

View file

@ -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