Skip to content

Commit

Permalink
fix(telegram webhook): when setting Telegram Webhook failed
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaosu-zhu authored Oct 24, 2023
1 parent 0ef35a7 commit f6a7eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/message/client/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 设置失败:网络连接故障!")

Expand Down

0 comments on commit f6a7eb9

Please sign in to comment.