Browse Source

[slack] Log prettytable module in ImportError

Harshg999 4 years ago
parent
commit
b06d06784e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/lib/botserver/views.py

+ 1 - 1
desktop/core/src/desktop/lib/botserver/views.py

@@ -41,7 +41,7 @@ LOG = logging.getLogger(__name__)
 try:
   from prettytable import PrettyTable
 except ImportError:
-  pass
+  LOG.warn('slack server: prettytable module is not installed')
 
 SLACK_VERIFICATION_TOKEN = conf.SLACK.SLACK_VERIFICATION_TOKEN.get()
 SLACK_BOT_USER_TOKEN = conf.SLACK.SLACK_BOT_USER_TOKEN.get()