Downgrade error to warning

This commit is contained in:
Rebecca Law
2017-11-03 10:15:09 +00:00
parent b0f58a8dcb
commit efe0f3b99b

View File

@@ -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(