mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-13 10:55:58 +03:00
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:
parent
3b14e7c1fa
commit
46f6ce8db3
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user