From ca2da8c33e36780aec7056a9360c817d8f1c66d6 Mon Sep 17 00:00:00 2001 From: Stephen Astels Date: Fri, 12 Apr 2024 15:24:38 -0400 Subject: [PATCH] add explicit return --- app/celery/process_pinpoint_receipts_tasks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/celery/process_pinpoint_receipts_tasks.py b/app/celery/process_pinpoint_receipts_tasks.py index 21410bdcc8..ca0cc92cd5 100644 --- a/app/celery/process_pinpoint_receipts_tasks.py +++ b/app/celery/process_pinpoint_receipts_tasks.py @@ -114,6 +114,8 @@ def process_pinpoint_results(self, response): current_app.logger.exception(f"Error processing Pinpoint results: {str(e)}") self.retry(queue=QueueNames.RETRY) + return True + def determine_pinpoint_status(sns_status, provider_response): if sns_status == "DELIVERED":