add a todo
parent
d9996cc874
commit
bebd40f901
|
@ -216,7 +216,7 @@ const handleMessage = function (ctx, user, msg) {
|
|||
// slice off the sequence number and pass in the rest of the message
|
||||
ctx.rpc(rpc_call, function (err, output) {
|
||||
if (err) {
|
||||
console.error('[' + err + ']', output);
|
||||
console.error('[' + err + ']', output); // TODO make this disableable
|
||||
sendMsg(ctx, user, [seq, 'ACK']);
|
||||
sendMsg(ctx, user, [0, HISTORY_KEEPER_ID, 'MSG', user.id, JSON.stringify([parsed[0], 'ERROR', err])]);
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue