mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Downgrade error to warning
This commit is contained in:
@@ -75,9 +75,10 @@ def process_ses_response(ses_request):
|
|||||||
notification_status
|
notification_status
|
||||||
)
|
)
|
||||||
if not notification:
|
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)
|
"from sending. Status {} for notification reference {}".format(notification_status, reference)
|
||||||
return error
|
current_app.logger.warning(warning)
|
||||||
|
return
|
||||||
|
|
||||||
if not aws_response_dict['success']:
|
if not aws_response_dict['success']:
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
|
|||||||
Reference in New Issue
Block a user