suppress ENOENT errors when checking empty chat channels

pull/1/head
ansuz 5 years ago
parent 40251948d4
commit 967ca6afa9

@ -480,7 +480,7 @@ const getOlderHistory = function (Env, channelName, oldestKnownHash, cb) {
}
messageBuffer.push(parsed);
}, function (err) {
if (err) {
if (err && err.code !== 'ENOENT') {
Log.error("HK_GET_OLDER_HISTORY", err);
}
cb(messageBuffer);

Loading…
Cancel
Save