Don't send an email on django errors in hyperkitty/postorius

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2022-02-19 09:06:42 +01:00
parent c39e3c09c7
commit 9370ad72d0
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -377,9 +377,10 @@ LOGGING = {
'django.request': {
'handlers': [
'file',
{% if env == 'production' %}
'mail_admins',
{% endif %}
# Don't send an email on server errors, there's just too many
#{% if env == 'production' %}
#'mail_admins',
#{% endif %}
],
'level': 'DEBUG',
},