Skip to content

Commit 984f43d

Browse files
committed
removed diagnostics check
1 parent 5da7c2a commit 984f43d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lambdas/ack_backend/src/ack_processor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,7 @@ def lambda_handler(event, _):
5050
break
5151

5252
ack_data_rows.append(convert_message_to_ack_row(message, created_at_formatted_string))
53-
# Note: we are only currently receiving failure records.
54-
# Nevertheless, we leave this here pending rewrite of tests (which currently still incorporate
55-
# success records and use "diagnostics" to identify failures).
56-
if message.get("diagnostics"):
57-
increment_records_failed_count(message_id)
53+
increment_records_failed_count(message_id)
5854

5955
update_ack_file(file_key, created_at_formatted_string, ack_data_rows)
6056

0 commit comments

Comments
 (0)