mirror of https://github.com/xwiki-labs/cryptpad
suppress an inconsequential error
This commit is contained in:
parent
aa35e092f7
commit
145386e944
|
@ -316,7 +316,11 @@ module.exports.create = function (config, cb) {
|
|||
var Decrees = require("./decrees");
|
||||
|
||||
Decrees.load(Env, function (err) {
|
||||
if (err) {
|
||||
if (err && err.code !== "ENOENT") {
|
||||
Log.error('DECREES_LOADING', {
|
||||
error: err.code || err,
|
||||
message: err.message,
|
||||
});
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue