Fix server error log on fresh install

This commit is contained in:
yflory 2024-03-26 16:50:10 +01:00
parent a1f732917d
commit 5c4fa0a6bb
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ Moderator.getAllKeys = function (Env) {
});
return keys;
} catch (e) {
return;
// ENOENT, return empty array
return [];
}
};
Moderator.getAll = function (Env, cb) {