Changed error printing format

This commit is contained in:
DarkCat09 2023-05-30 14:49:37 +04:00
parent 73fc57a105
commit 162c44c4f9

View file

@ -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,