Merge branch 'hotfix/md5err' into 'release/6.4'
logger-modified See merge request !1194
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -347,9 +347,9 @@ const listNew = (req, res, next) => { | @@ -347,9 +347,9 @@ const listNew = (req, res, next) => { | ||
347 | if (seoTitle) { | 347 | if (seoTitle) { |
348 | try { | 348 | try { |
349 | categoryIntroRedis = | 349 | categoryIntroRedis = |
350 | - yield redis.hmgetAsync(`category:description:${md5(seoTitle)}`, 'category', 'description').timeout(200); // eslint-disable-line | 350 | + yield redis.hmgetAsync(`category:description:${md5(undefined)}`, 'category', 'description').timeout(200); // eslint-disable-line |
351 | } catch (e) { | 351 | } catch (e) { |
352 | - logger.error('redis.hmgetAsync.category.description:' + e); | 352 | + logger.warn(`redis.hmgetAsync error, key is category:description:md5(${seoTitle})`); |
353 | } | 353 | } |
354 | } | 354 | } |
355 | 355 |
-
Please register or login to post a comment