Authored by 郭成尧

logger-modified

... ... @@ -362,7 +362,7 @@ const listNew = (req, res, next) => {
if (seoTitle) {
try {
categoryIntroRedis =
yield redis.hmgetAsync(`category:description:${md5(undefined)}`, 'category', 'description').timeout(200); // eslint-disable-line
yield redis.hmgetAsync(`category:description:${md5(seoTitle)}`, 'category', 'description').timeout(200); // eslint-disable-line
} catch (e) {
logger.warn(`redis.hmgetAsync error, key is category:description:md5(${seoTitle})`);
}
... ...