aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorIgor <50257429+igorechek06@users.noreply.github.com>2021-10-15 15:03:44 +0900
committerIgor <50257429+igorechek06@users.noreply.github.com>2021-10-15 15:03:44 +0900
commitfc4b972a24aece9cd6242fee3a00473e581f15d4 (patch)
treedc7035541e63e2274bcbd3464aec7d45d1d82bcb /handlers
parent8616675c7091b23553904d1e9ba32f1685224246 (diff)
downloadkarpov_ai_bot-fc4b972a24aece9cd6242fee3a00473e581f15d4.tar.gz
karpov_ai_bot-fc4b972a24aece9cd6242fee3a00473e581f15d4.zip
Баг фикс
Diffstat (limited to 'handlers')
-rw-r--r--handlers/all.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/handlers/all.py b/handlers/all.py
index 6661f47..1947604 100644
--- a/handlers/all.py
+++ b/handlers/all.py
@@ -1,3 +1,6 @@
1import logging
2import traceback
3
1from shared.instances import dp 4from shared.instances import dp
2from aiogram import types as t 5from aiogram import types as t
3 6
@@ -13,4 +16,7 @@ async def errors_handler(upd: t.Update, err: Exception):
13 await upd.callback_query.answer(txt) 16 await upd.callback_query.answer(txt)
14 else: 17 else:
15 return 18 return
19
20 logging.error(traceback.format_exc())
21
16 return True 22 return True