Browse Source

add logger.debug

Yuki Takei 4 năm trước cách đây
mục cha
commit
9970f14efc
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/slackbot-proxy/src/controllers/growi-to-slack.ts

+ 1 - 0
packages/slackbot-proxy/src/controllers/growi-to-slack.ts

@@ -280,6 +280,7 @@ export class GrowiToSlackCtrl {
       const opt = req.body;
       opt.headers = req.headers;
 
+      logger.debug({ method, opt });
       // !! DO NOT REMOVE `await ` or it does not enter catch block even when error occured !! -- 2021.08.22 Yuki Takei
       return await client.apiCall(method, opt);
     }