Merge pull request 'fix' (#16) from queues into prod

Reviewed-on: #16
This commit is contained in:
emmatveev 2024-11-26 20:00:36 +03:00
commit f8ec8af981

View File

@ -25,4 +25,7 @@ class Daemon(base.Daemon, queues.TasksHandlerMixin):
reply_markup = payload.get('reply_markup')
if 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))