Browse Source

add logger

zahmis 5 years ago
parent
commit
c2ce93bf71
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server/routes/apiv3/slack-integration.js

+ 1 - 0
src/server/routes/apiv3/slack-integration.js

@@ -275,6 +275,7 @@ module.exports = (crowi) => {
 
     if (slackBotToken == null) {
       const msg = 'Bot User OAuth Token is not setup.';
+      logger.error('Error', msg);
       return res.apiv3Err(new ErrorV3(msg, 'not-setup-slack-bot-token', 400));
     }