From 2af47c7128abb2ac70107d38d5d048ab72f53cc1 Mon Sep 17 00:00:00 2001 From: Phillip Shiu Date: Sun, 25 Jun 2023 22:11:08 -0400 Subject: [PATCH] temp: remove celery ignore_result=True We are lacking information in Flower about our Celery tasks that are marked as successful but are actually failing. Attempt to remove ignore_result=True to see if this is suppressing valuable debugging information. --- common/djangoapps/entitlements/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/entitlements/tasks.py b/common/djangoapps/entitlements/tasks.py index 1b6a0b13e5..a5fac3c118 100644 --- a/common/djangoapps/entitlements/tasks.py +++ b/common/djangoapps/entitlements/tasks.py @@ -65,7 +65,7 @@ def expire_old_entitlements(self, start, end, logid='...'): LOGGER.info('Successfully completed the task expire_old_entitlements after examining %d entries [%s]', entitlements.count(), logid) # lint-amnesty, pylint: disable=line-too-long -@shared_task(bind=True, ignore_result=True) +@shared_task(bind=True) @set_code_owner_attribute def expire_and_create_entitlements(self, entitlement_ids, support_username): """