From e0411d17a80d274ad4624ffa2db998fa75dbb57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Sun, 19 Jun 2022 23:15:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20`conversation=5Ferror=5Fha?= =?UTF-8?q?ndler`=20=E5=9B=9E=E5=A4=8D=E7=9A=84=E9=94=99=E8=AF=AF=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/errorhandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/errorhandler.py b/plugins/errorhandler.py index 4498ad8e..9fbfc1a9 100644 --- a/plugins/errorhandler.py +++ b/plugins/errorhandler.py @@ -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)