Showing
1 changed file
with
3 additions
and
1 deletions
@@ -73,7 +73,9 @@ module.exports = class extends global.yoho.BaseModel { | @@ -73,7 +73,9 @@ module.exports = class extends global.yoho.BaseModel { | ||
73 | this.userService.profile(uidObj), | 73 | this.userService.profile(uidObj), |
74 | this.cartService.goodsCount(uidObj), | 74 | this.cartService.goodsCount(uidObj), |
75 | this.userService.checkNoCertEmailUser(uidObj) | 75 | this.userService.checkNoCertEmailUser(uidObj) |
76 | - .catch(err => logger(`checkNoCertEmailUser【${uid}】err: ${err}`)) | 76 | + .catch(err => { |
77 | + logger.error(`checkNoCertEmailUser【${uid}】err: ${err}`); | ||
78 | + }) | ||
77 | ]).spread((userInfo, count, isTipCert) => { | 79 | ]).spread((userInfo, count, isTipCert) => { |
78 | let salt = uuid.v4().substr(0, 8); | 80 | let salt = uuid.v4().substr(0, 8); |
79 | let saltedUid = uid + salt; | 81 | let saltedUid = uid + salt; |
-
Please register or login to post a comment