From fef6edf61931f03cb2214faba6faf07e4c90e01c Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sun, 1 Nov 2020 09:32:41 +0100 Subject: [PATCH] use warning for domain DNS fails --- cron.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron.py b/cron.py index c3d2b6aa..ceac0357 100644 --- a/cron.py +++ b/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,