Skip to content

Commit

Permalink
HOTFIX - Log Replay Notification IDs (#1939)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan authored Aug 16, 2024
1 parent 7f902b0 commit e8857ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/celery/process_ses_receipts_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def process_ses_results( # noqa: C901 (too complex 14 > 10)
self,
response,
):
current_app.logger.debug('Full SES result response: %s', response)
try:
ses_message = json.loads(response['Message'])
notification_type = ses_message.get('eventType')
Expand Down
1 change: 1 addition & 0 deletions app/celery/scheduled_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def replay_created_notifications():
)

for n in notifications_to_resend:
current_app.logger.info('Replaying notification: %s', n.id)
send_notification_to_queue(notification=n, research_mode=n.service.research_mode)


Expand Down

0 comments on commit e8857ba

Please sign in to comment.