Explorar o código

add logger.debug

Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
9970f14efc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
     }