diff --git a/daemons/mailbox.py b/daemons/mailbox.py index 99297ed..c8a5e3c 100644 --- a/daemons/mailbox.py +++ b/daemons/mailbox.py @@ -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))