Merge pull request 'fix' (#16) from queues into prod
Reviewed-on: https://gitea.sprinthub.ru/self/ruz-bot/pulls/16
This commit was merged in pull request #16.
This commit is contained in:
@@ -25,4 +25,7 @@ class Daemon(base.Daemon, queues.TasksHandlerMixin):
|
|||||||
reply_markup = payload.get('reply_markup')
|
reply_markup = payload.get('reply_markup')
|
||||||
if reply_markup:
|
if reply_markup:
|
||||||
body['reply_markup'] = reply_markup
|
body['reply_markup'] = reply_markup
|
||||||
self.bot.send_message(**body, parse_mode='Markdown')
|
try:
|
||||||
|
self.bot.send_message(**body, parse_mode='Markdown')
|
||||||
|
except Exception as exc:
|
||||||
|
print('Error', str(exc))
|
||||||
|
|||||||
Reference in New Issue
Block a user