From e09d595d8b6fc6942ba9f87b9d25b524c7970188 Mon Sep 17 00:00:00 2001 From: knst-kotov Date: Wed, 15 Jun 2022 10:05:20 +0300 Subject: [PATCH] verbose errors --- resolvers/zine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/zine.py b/resolvers/zine.py index c0ed8a0a..19be614f 100644 --- a/resolvers/zine.py +++ b/resolvers/zine.py @@ -381,7 +381,7 @@ async def get_shout_by_slug(_, info, slug): filter(Shout.slug == slug).first() if not shout: - print("shout not exist") + print(f"shout with slug {slug} not exist") return {} #TODO return error field shout.ratings = await ShoutRatingStorage.get_ratings(slug)