Small change to include the reference that ses send us on the callback.

This commit is contained in:
Rebecca Law
2017-01-30 14:09:30 +00:00
parent 1d734d3b28
commit c6eb284218
2 changed files with 3 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ def process_ses_response():
)
if not notification:
error = "SES callback failed: notification either not found or already updated " \
"from sending. Status {}".format(notification_status)
"from sending. Status {} for notification reference {}".format(notification_status, reference)
raise InvalidRequest(error, status_code=404)
if not aws_response_dict['success']: