Browse Source

use warning level for "emails were sent to in the last 24h" error

Son NK 5 years ago
parent
commit
6cc8dd548c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/email_utils.py

+ 1 - 1
app/email_utils.py

@@ -262,7 +262,7 @@ def send_email_with_rate_control(
     )
 
     if nb_alert >= max_alert_24h:
-        LOG.error(
+        LOG.warning(
             "%s emails were sent to %s in the last 24h, alert type %s",
             nb_alert,
             to_email,