aboutsummaryrefslogtreecommitdiff
path: root/handlers/all.py
diff options
context:
space:
mode:
Diffstat (limited to 'handlers/all.py')
-rw-r--r--handlers/all.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/all.py b/handlers/all.py
index 10ba92d..6661f47 100644
--- a/handlers/all.py
+++ b/handlers/all.py
@@ -5,7 +5,7 @@ from aiogram import types as t
5@dp.errors_handler() 5@dp.errors_handler()
6async def errors_handler(upd: t.Update, err: Exception): 6async def errors_handler(upd: t.Update, err: Exception):
7 txt = "Я хз что произошло, но да \n" 7 txt = "Я хз что произошло, но да \n"
8 txt += f" {err.__class__.__name__}: {' '.join(err.args)}" 8 txt += f" {err.__class__.__name__}: {' '.join(map(str, err.args))}"
9 9
10 if upd.message: 10 if upd.message:
11 await upd.message.answer(txt) 11 await upd.message.answer(txt)