lrf 1 년 전
부모
커밋
7fd9b219e1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/controller/weixin.js

+ 1 - 0
app/controller/weixin.js

@@ -69,6 +69,7 @@ class WeixinController extends Controller {
     try {
       ({ openid } = await weixin.fetch(code));
     } catch (err) {
+      this.ctx.logger.error(err);
       await this.ctx.render('error.njk', { title: err.message, message: err.details });
       return;
     }