fix slack notification
This commit is contained in:
parent
566868b886
commit
5b3bc54e08
1 changed files with 3 additions and 0 deletions
|
@ -341,6 +341,9 @@ LOGGING = {
|
|||
}
|
||||
|
||||
if SLACK_TOKEN:
|
||||
INSTALLED_APPS += [
|
||||
"django_slack",
|
||||
]
|
||||
LOGGING["handlers"]["slack"] = {
|
||||
"level": "ERROR",
|
||||
"class": "django_slack.log.SlackExceptionHandler",
|
||||
|
|
Loading…
Add table
Reference in a new issue