Skip to content

检查通知配置没有检查Email。导致后续 如果只设置了Email,_send_notification_if_needed会判断通知参数未设置,跳过通知发送 #88

@lilue

Description

@lilue

🏷️ 遇到了什么问题

配置设置问题(配置文件错误、参数不生效等)

🖥️ 使用环境

Docker 容器运行

📝 详细描述问题

def _has_webhook_configured(self) -> bool:
检查通知配置没有检查Email。导致后续 如果只设置了Email,_send_notification_if_needed会判断通知参数未设置,跳过通知发送
elif CONFIG["ENABLE_NOTIFICATION"] and not has_webhook:
print("⚠️ 警告:通知功能已启用但未配置webhook URL,将跳过通知发送")

💻 系统信息

None

🔄 怎么重现这个问题

No response

✅ 期望的正常情况

No response

📋 错误信息

No response

⚙️ 相关配置

No response

📷 截图补充

No response

📎 其他补充信息

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions