mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Downgrade error to warning
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user