From d585e54e36edd897ca2b8db8e9fa1b9ef5608ce7 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Mon, 20 Dec 2021 14:57:02 +0000 Subject: [PATCH] WIP --- app/celery/reporting_tasks.py | 5 +++++ requirements.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/celery/reporting_tasks.py b/app/celery/reporting_tasks.py index dc8940291..38ed702c4 100644 --- a/app/celery/reporting_tasks.py +++ b/app/celery/reporting_tasks.py @@ -93,6 +93,11 @@ def create_nightly_notification_status(): ) +@notify_celery.task(name='ben-test') +def ben_test(): + raise TypeError('ben test') + + @notify_celery.task(name="create-nightly-notification-status-for-day") def create_nightly_notification_status_for_day(process_day, notification_type): process_day = datetime.strptime(process_day, "%Y-%m-%d").date() diff --git a/requirements.txt b/requirements.txt index f46f4467e..79438d5a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -151,7 +151,7 @@ mistune==0.8.4 # via notifications-utils notifications-python-client==6.0.2 # via -r requirements.in -notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@51.2.1 +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@log-celery-failure-180693991 # via -r requirements.in orderedset==2.0.3 # via notifications-utils