mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Enable emailing on task failure
This commit is contained in:
@@ -157,8 +157,6 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
djcelery.setup_loader()
|
||||
|
||||
### Celery Schedule
|
||||
|
||||
CELERYBEAT_SCHEDULE = {
|
||||
@@ -172,3 +170,8 @@ CELERYBEAT_SCHEDULE = {
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
CELERY_SEND_TASK_ERROR_EMAILS = True
|
||||
|
||||
# Load the Celery tasks
|
||||
djcelery.setup_loader()
|
||||
|
||||
Reference in New Issue
Block a user