fix error messages for readonly

This commit is contained in:
Dave Conway-Jones
2018-08-30 09:32:50 +01:00
parent ffa65afbb2
commit 376db60acc
3 changed files with 7 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ module.exports = {
try {
fs.renameSync(path,backupPath);
} catch(e) {
log.warn(log._("storage.localfilesystem.fwrite-fail",{path:path}));
log.warn(log._("storage.localfilesystem.fwrite-fail",{path:path, message:e.toString()}));
}
}
}