From f6a7eb9bc43e79d5c3cbb8de429d346ca7c1b2ec Mon Sep 17 00:00:00 2001 From: Xiaosu Zhu Date: Tue, 24 Oct 2023 23:41:57 +0800 Subject: [PATCH] fix(telegram webhook): when setting Telegram Webhook failed --- app/message/client/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/message/client/telegram.py b/app/message/client/telegram.py index 6eee54a4..1620a0b7 100644 --- a/app/message/client/telegram.py +++ b/app/message/client/telegram.py @@ -233,7 +233,7 @@ def __set_bot_webhook(self): if json.get("ok"): log.info("【Telegram】Webhook 设置成功,地址为:%s" % self._webhook_url) else: - log.error("【Telegram】Webhook 设置失败:" % json.get("description")) + log.error("【Telegram】Webhook 设置失败:%s" % json.get("description")) else: log.error("【Telegram】Webhook 设置失败:网络连接故障!")