Commit 2639619a9d234a633e97ab07f537b62f91cec5c4

Authored by Adhidarma Hadiwinoto
1 parent 7f154bb868
Exists in master

More log on mkdirIfNotExists

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

lib/mkdir-if-not-exists.js
... ... @@ -19,6 +19,7 @@ module.exports = async (xid, dirname) => {
19 19 try {
20 20 fs.stat(dirname);
21 21 } catch (e) {
  22 + logger.verbose(`${MODULE_NAME} 1DB9EDAB: Directory not exists`, { xid, dirname });
22 23 await mkdir(xid, dirname);
23 24 }
24 25 };