diff --git a/bot/telegram_bot.py b/bot/telegram_bot.py index e5b177ec..44856bc0 100644 --- a/bot/telegram_bot.py +++ b/bot/telegram_bot.py @@ -375,6 +375,10 @@ async def prompt(self, update: Update, context: ContextTypes.DEFAULT_TYPE): logging.warning(str(e)) await asyncio.sleep(1) + except Exception as e: + logging.warning(str(e)) + continue + await asyncio.sleep(0.01) i += 1