mirror of https://github.com/xwiki-labs/cryptpad
Fix server error log on fresh install
This commit is contained in:
parent
a1f732917d
commit
5c4fa0a6bb
|
@ -40,7 +40,8 @@ Moderator.getAllKeys = function (Env) {
|
|||
});
|
||||
return keys;
|
||||
} catch (e) {
|
||||
return;
|
||||
// ENOENT, return empty array
|
||||
return [];
|
||||
}
|
||||
};
|
||||
Moderator.getAll = function (Env, cb) {
|
||||
|
|
Loading…
Reference in New Issue