suppress ENOENT errors when checking empty chat channels
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…
Reference in New Issue