mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-17 10:42:25 -05:00
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:
@@ -286,7 +286,7 @@ def process_delivery_receipts(self):
|
|||||||
raise self.retry(ex=ex, countdown=wait_time)
|
raise self.retry(ex=ex, countdown=wait_time)
|
||||||
except self.MaxRetriesExceededError:
|
except self.MaxRetriesExceededError:
|
||||||
current_app.logger.error(
|
current_app.logger.error(
|
||||||
"Failed process delivery receipts after max retries"
|
f"Failed process delivery receipts after max retries: {str(ex)}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user