From 8707a60b079b7e81e454ac11ea9923e8236a8fdb Mon Sep 17 00:00:00 2001 From: Wujg Date: Thu, 21 Jul 2022 21:43:21 +0100 Subject: [PATCH] Update setup-error-logging-in-serverless.md Fixed the bash sample scripts/output issue --- _chapters/setup-error-logging-in-serverless.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_chapters/setup-error-logging-in-serverless.md b/_chapters/setup-error-logging-in-serverless.md index 81a700157..eac0b0b1d 100644 --- a/_chapters/setup-error-logging-in-serverless.md +++ b/_chapters/setup-error-logging-in-serverless.md @@ -64,7 +64,7 @@ We are doing a few things of note in this simple helper. We start by enabling logging for the AWS SDK. We do so by running `AWS.config.logger = { log: debug }`. This is telling the AWS SDK to log using our logger, the `debug()` method (we'll look at this below). So when you make a call to an AWS service, ie. a query call to the DynamoDB table `dev-notes`, this will log: - ```` bash + ``` bash [AWS dynamodb 200 0.296s 0 retries] query({ TableName: 'dev-notes', KeyConditionExpression: 'userId = :userId', ExpressionAttributeValues: { ':userId': { S: 'USER-SUB-1234' } } })