mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 05:03:44 +08:00
log: fix
This commit is contained in:
@@ -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, value);
|
||||
logger.warn(`repeated key: ${key}, ${value}`);
|
||||
}
|
||||
if (!value || value === 'undefined') {
|
||||
value = '';
|
||||
|
||||
Reference in New Issue
Block a user