mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
notify-api-317 fix the scrubbing of pii for successful notifications
This commit is contained in:
@@ -84,6 +84,6 @@ class AwsCloudwatchClient(Client):
|
||||
if all_failed_events and len(all_failed_events) > 0:
|
||||
event = all_failed_events[0]
|
||||
message = json.loads(event['message'])
|
||||
return "fail", message['delivery']['providerResponse']
|
||||
return "failure", message['delivery']['providerResponse']
|
||||
|
||||
raise Exception(f'No event found for message_id {message_id} notification_id {notification_id}')
|
||||
|
||||
Reference in New Issue
Block a user