|
@@ -456,9 +456,10 @@ async def run_handler(bot, event, command):
|
|
|
text = '<пусто>'
|
|
|
|
|
|
try:
|
|
|
- await event.reply(f'```\n{text}```')
|
|
|
- except ValueError:
|
|
|
- await event.reply(text, parse_mode=None)
|
|
|
+ try:
|
|
|
+ await event.reply(f'```\n{text}```')
|
|
|
+ except ValueError:
|
|
|
+ await event.reply(text, parse_mode=None)
|
|
|
except MessageEmptyError:
|
|
|
await event.reply('<Telegram не смог декодировать текст сообщения>')
|
|
|
|