From e4915dcd7d7872c7dcad890b907600d32718336c Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 4 Mar 2024 20:25:47 +0300 Subject: [PATCH] debug-logs --- resolvers/author.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resolvers/author.py b/resolvers/author.py index 09cf5e9c..be15e794 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -90,6 +90,8 @@ async def get_author_by_user_id(user_id: str): if author: await set_author_cache(author.dict()) except Exception as exc: + import traceback + traceback.print_exc() logger.error(exc) return author