From 162c44c4f9055c8a7f452657508d83beb3c6c4b6 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 30 May 2023 14:49:37 +0400 Subject: [PATCH] Changed error printing format --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e48d954..8a799f2 100644 --- a/main.py +++ b/main.py @@ -164,7 +164,7 @@ async def currency(inline_query: InlineQuery) -> None: ) except Exception as ex: - result = f'{type(ex)}: {ex}' + result = f'{type(ex).__name__}: {ex}' article[0] = InlineQueryResultArticle( id=result_id,