Showing
1 changed file
with
2 additions
and
2 deletions
@@ -362,9 +362,9 @@ const listNew = (req, res, next) => { | @@ -362,9 +362,9 @@ const listNew = (req, res, next) => { | ||
362 | if (seoTitle) { | 362 | if (seoTitle) { |
363 | try { | 363 | try { |
364 | categoryIntroRedis = | 364 | categoryIntroRedis = |
365 | - yield redis.hmgetAsync(`category:description:${md5(seoTitle)}`, 'category', 'description').timeout(200); // eslint-disable-line | 365 | + yield redis.hmgetAsync(`category:description:${md5(undefined)}`, 'category', 'description').timeout(200); // eslint-disable-line |
366 | } catch (e) { | 366 | } catch (e) { |
367 | - logger.error('redis.hmgetAsync.category.description:' + e); | 367 | + logger.warn(`redis.hmgetAsync error, key is category:description:md5(${seoTitle})`); |
368 | } | 368 | } |
369 | } | 369 | } |
370 | 370 |
-
Please register or login to post a comment