mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
修改 conversation_error_handler
回复的错误信息
This commit is contained in:
parent
1956d4dc4c
commit
e0411d17a8
@ -85,7 +85,7 @@ def conversation_error_handler(func: Callable) -> Callable:
|
||||
except GenshinException as exc:
|
||||
Log.warning("GenshinException", exc)
|
||||
await send_user_notification(update, context,
|
||||
f"获取账号信息发生错误,错误信息为 {str(exc)},请检查Cookie或者账号是否正常")
|
||||
f"获取账号信息发生错误,错误信息为 {str(exc)}")
|
||||
return ConversationHandler.END
|
||||
except BadRequest as exc:
|
||||
Log.warning("python-telegram-bot请求错误", exc)
|
||||
|
Loading…
Reference in New Issue
Block a user