Removed console.log statement in favor of common logger

no issue

- Using console is a very bad practice and probably was left here by mistake. Using common logging instead
This commit is contained in:
Nazar Gargol 2020-01-13 19:16:51 +07:00
parent 3b14e7c1fa
commit 46f6ce8db3

View File

@ -1,4 +1,5 @@
const debug = require('ghost-ignition').debug('users');
const common = require('./common');
let Member;
@ -84,7 +85,7 @@ module.exports = function ({
}
});
} catch (err) {
console.log(err);
common.logging.error(err);
return null;
}
}