Skip to content

Commit 47e1d06

Browse files
risiclejoybytes
authored andcommitted
process_ses_results: clarify log message used for unexpectedly quick callbacks
it's not quite that the notification hasn't been persisted, just that it hasn't been given its reference (which we only receive after sending) so can't be looked up.
1 parent 1baebe9 commit 47e1d06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/celery/process_ses_receipts_tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def process_ses_results(self, response):
4747
current_app.logger.info(
4848
"notification not found for reference: %(notification_reference)s "
4949
"(update to %(notification_status)s). "
50-
"Callback may have arrived before notification was persisted to the DB. Adding task to retry queue",
50+
"Callback may have arrived before notification's reference was persisted to the DB. "
51+
"Adding task to retry queue",
5152
extra,
5253
extra=extra,
5354
)

0 commit comments

Comments
 (0)