diff --git a/app/notifications/notifications_ses_callback.py b/app/notifications/notifications_ses_callback.py index 2ed34037b..897345f5e 100644 --- a/app/notifications/notifications_ses_callback.py +++ b/app/notifications/notifications_ses_callback.py @@ -75,9 +75,10 @@ def process_ses_response(ses_request): notification_status ) if not notification: - error = "SES callback failed: notification either not found or already updated " \ + warning = "SES callback failed: notification either not found or already updated " \ "from sending. Status {} for notification reference {}".format(notification_status, reference) - return error + current_app.logger.warning(warning) + return if not aws_response_dict['success']: current_app.logger.info(