log: more info
This commit is contained in:
parent
fd71316675
commit
e3f61bb65c
|
|
@ -45,7 +45,7 @@ module.exports = function(app, options = {}) {
|
|||
},
|
||||
set: async function(key, value, maxAge = 24 * 60 * 60) {
|
||||
if (await this.get(key)) {
|
||||
logger.warn('repeated key: ', key);
|
||||
logger.warn('repeated key: ', key, value);
|
||||
}
|
||||
if (!value || value === 'undefined') {
|
||||
value = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue