use warning for domain DNS fails

This commit is contained in:
Son NK 2020-11-01 09:32:41 +01:00
parent 28563b9653
commit fef6edf619
1 changed files with 1 additions and 1 deletions

View File

@ -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,