From fc4b972a24aece9cd6242fee3a00473e581f15d4 Mon Sep 17 00:00:00 2001 From: Igor <50257429+igorechek06@users.noreply.github.com> Date: Fri, 15 Oct 2021 15:03:44 +0900 Subject: Баг фикс MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handlers/all.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'handlers/all.py') 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 @@ +import logging +import traceback + from shared.instances import dp from aiogram import types as t @@ -13,4 +16,7 @@ async def errors_handler(upd: t.Update, err: Exception): await upd.callback_query.answer(txt) else: return + + logging.error(traceback.format_exc()) + return True -- cgit v1.2.3