Expose underlying error message in process delivery task

This changeset adds error information to a log statement so we can have a better idea of what might be failing with the process delivery Celery task.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2025-07-30 11:33:23 -04:00
parent e3a09d2d14
commit 6eb7de0c45

View File

@@ -286,7 +286,7 @@ def process_delivery_receipts(self):
raise self.retry(ex=ex, countdown=wait_time)
except self.MaxRetriesExceededError:
current_app.logger.error(
"Failed process delivery receipts after max retries"
f"Failed process delivery receipts after max retries: {str(ex)}"
)