mirror of
https://github.com/simple-login/app.git
synced 2024-09-29 21:21:29 +02:00
use warning level for "emails were sent to in the last 24h" error
This commit is contained in:
parent
281331bc51
commit
6cc8dd548c
@ -262,7 +262,7 @@ def send_email_with_rate_control(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if nb_alert >= max_alert_24h:
|
if nb_alert >= max_alert_24h:
|
||||||
LOG.error(
|
LOG.warning(
|
||||||
"%s emails were sent to %s in the last 24h, alert type %s",
|
"%s emails were sent to %s in the last 24h, alert type %s",
|
||||||
nb_alert,
|
nb_alert,
|
||||||
to_email,
|
to_email,
|
||||||
|
Loading…
Reference in New Issue
Block a user