Skip to content

Commit ee8ac6c

Browse files
AJAJ
authored andcommitted
ready to push sample PR.. there are comments to be resolved
1 parent 0d9249a commit ee8ac6c

File tree

1 file changed

+3
-1
lines changed
  • src/platforms/node/guides/aws-lambda

1 file changed

+3
-1
lines changed

src/platforms/node/guides/aws-lambda/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ redirect_from:
44
- /platforms/node/aws_lambda/
55
---
66

7+
*Update Version*
78
_(New in version 5.22.x)_
89

910
Create a deployment package on your local machine and install the required dependencies in the deployment package. For more information, see [Building an AWS Lambda deployment package for Node.js](https://aws.amazon.com/premiumsupport/knowledge-center/lambda-deployment-package-nodejs/).
@@ -20,8 +21,8 @@ $ yarn add @sentry/node
2021

2122
You can use the AWS Lambda integration for the Node SDK like this:
2223

23-
```javascript
2424
*Update Sample Code*
25+
```javascript
2526
const http = require("http");
2627
const Sentry = require("@sentry/node");
2728
const { AWSLambdaIntegration } = require("@sentry/integrations");
@@ -45,6 +46,7 @@ exports.handler = (event, context) => {
4546

4647
Timeout warning indicates high probability of the function timing out. Update the sentry initialization to set `timeoutWarning` to `true`
4748

49+
*Update Sample Code*
4850
```javascript
4951
Sentry.init({
5052
dsn:

0 commit comments

Comments
 (0)