Skip to content

Commit 4580f59

Browse files
committed
Fix Python: lambda-function-sqs-report-batch-item-failures
1 parent 16813a9 commit 4580f59

File tree

1 file changed

+1
-1
lines changed
  • lambda-function-sqs-report-batch-item-failures

1 file changed

+1
-1
lines changed

lambda-function-sqs-report-batch-item-failures/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def lambda_handler(event, context):
88

99
for record in event["Records"]:
1010
try:
11-
# process message
11+
print(f"Processed message: {record['body']}")
1212
except Exception as e:
1313
batch_item_failures.append({"itemIdentifier": record['messageId']})
1414

0 commit comments

Comments
 (0)