mirror of
https://github.com/Redume/Shirino.git
synced 2024-11-06 00:33:59 +03:00
Changed error printing format
This commit is contained in:
parent
73fc57a105
commit
162c44c4f9
1 changed files with 1 additions and 1 deletions
2
main.py
2
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,
|
||||
|
|
Loading…
Reference in a new issue