mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
use warning for domain DNS fails
This commit is contained in:
parent
28563b9653
commit
fef6edf619
2
cron.py
2
cron.py
|
@ -394,7 +394,7 @@ def check_custom_domain():
|
|||
# send alert if fail for 5 consecutive days
|
||||
if custom_domain.nb_failed_checks > 5:
|
||||
domain_dns_url = f"{URL}/dashboard/domains/{custom_domain.id}/dns"
|
||||
LOG.exception("Alert %s about %s", user, custom_domain)
|
||||
LOG.warning("Alert %s about %s", user, custom_domain)
|
||||
send_email_with_rate_control(
|
||||
user,
|
||||
AlERT_WRONG_MX_RECORD_CUSTOM_DOMAIN,
|
||||
|
|
Loading…
Reference in a new issue