leave a FIXME in the server

pull/1/head
ansuz 4 years ago
parent 1179727d90
commit 75f9459950

@ -677,6 +677,7 @@ const handleGetHistory = function (Env, Server, seq, userId, parsed) {
err: err && err.message || err,
stack: err && err.stack,
}); }
// FIXME err.message isn't useful for users
const parsedMsg = {error:err.message, channel: channelName, txid: txid};
Server.send(userId, [0, HISTORY_KEEPER_ID, 'MSG', userId, JSON.stringify(parsedMsg)]);
return;

Loading…
Cancel
Save