|
|
@ -622,7 +622,8 @@ const handleGetHistory = function (Env, Server, seq, userId, parsed) {
|
|
|
|
}, (err) => {
|
|
|
|
}, (err) => {
|
|
|
|
if (err && err.code !== 'ENOENT') {
|
|
|
|
if (err && err.code !== 'ENOENT') {
|
|
|
|
if (err.message !== 'EINVAL') { Log.error("HK_GET_HISTORY", {
|
|
|
|
if (err.message !== 'EINVAL') { Log.error("HK_GET_HISTORY", {
|
|
|
|
err: err && err.message,
|
|
|
|
channel: channelName,
|
|
|
|
|
|
|
|
err: err && err.message || err,
|
|
|
|
stack: err && err.stack,
|
|
|
|
stack: err && err.stack,
|
|
|
|
}); }
|
|
|
|
}); }
|
|
|
|
const parsedMsg = {error:err.message, channel: channelName, txid: txid};
|
|
|
|
const parsedMsg = {error:err.message, channel: channelName, txid: txid};
|
|
|
|