fix slack notification

This commit is contained in:
Her Email 2023-11-21 20:57:06 -05:00 committed by Henri Dickson
parent 566868b886
commit 5b3bc54e08

View file

@ -341,6 +341,9 @@ LOGGING = {
}
if SLACK_TOKEN:
INSTALLED_APPS += [
"django_slack",
]
LOGGING["handlers"]["slack"] = {
"level": "ERROR",
"class": "django_slack.log.SlackExceptionHandler",