mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05: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 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue