aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
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