Skip to content

Commit 90eaf4c

Browse files
committed
fix logger info
1 parent 47f2c82 commit 90eaf4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-ddb-to-lambda/example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function handleDynamoDb(DynamoDbEvent $event, Context $context): void
3636
$new = $record->getNewImage();
3737

3838
$this->logger->info($eventName);
39-
$this->logger->info("DynamoDB Record: $keys, $old, $new");
39+
$this->logger->info("DynamoDb Record". json_encode($keys).json_encode($old).json_encode($new));
4040

4141
// TODO: Do interesting work based on the new data
4242

0 commit comments

Comments
 (0)