Skip to content

Commit e6be5e9

Browse files
Lms24andreiborza
andcommitted
Apply suggestions from code review
Co-authored-by: Andrei <[email protected]>
1 parent 71a38bd commit e6be5e9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ exports.handler = Sentry.wrapHandler(yourHandler, {
2828
});
2929
```
3030

31-
To change timeout warning limit, assign a numeric value (in ms) to `timeoutWarningLimit`:
31+
To change the timeout warning limit, assign a numeric value (in ms) to `timeoutWarningLimit`:
3232

3333
```javascript {filename:index.js} {2}
3434
exports.handler = Sentry.wrapHandler(yourHandler, {

docs/platforms/javascript/guides/aws-lambda/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ On this page you'll get an overview how to install, configure and use Sentry in
1919

2020
Depending on your setup, there are different ways to install and use Sentry in your Lambda functions. We recommend one of the following options:
2121

22-
- [Install the Sentry AWS Lambda Layer](./install/cjs-layer) if your Lambda functions are written in CommonJS (CJS) `require` syntax.
22+
- [Install the Sentry AWS Lambda Layer](./install/cjs-layer) if your Lambda functions are written in CommonJS (CJS) using `require` syntax.
2323
- [Install the Sentry AWS NPM package](./install/esm-npm) if your Lambda functions are running in EcmaScript Modules (ESM) using `import` syntax.
2424

2525
If you're not sure which installation method to use or want an overview of all available options to use Sentry in your Lambda functions, read the [installation methods overview](/guides/aws-lambda/install).

docs/platforms/javascript/guides/aws-lambda/install/cjs-npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar_order: 2
55
---
66

77
In this guide you will learn how to set up the `@sentry/aws-serverless` SDK for AWS Lambda functions running in CommonJS (CJS) mode.
8-
This installation method allows you to fully customize your Sentry SDK setup while also being able to tree-shake, transpile and bundle the SDK Code. However but you need to modify your code and deploy the Sentry dependencies alongside your function code. If you're looking for the most simple way to set up Sentry, you might want to use the [Lambda Layer](../cjs-layer) instead.
8+
This installation method allows you to fully customize your Sentry SDK setup while also being able to tree-shake, transpile and bundle the SDK Code. However, you need to modify your code and deploy the Sentry dependencies alongside your function code. If you're looking for the most simple way to set up Sentry, you might want to use the [Lambda Layer](../cjs-layer) instead.
99

1010
## 1. Prerequisites
1111

docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export const handler = Sentry.wrapHandler(async (event, context) => {
136136
To load the SDK before your function starts, you need to preload the `instrumentation.mjs` by setting the `NODE_OPTIONS` environment variable:
137137

138138
```bash
139-
NODE_OPTIONS="--import instrumentation.mjs"
139+
NODE_OPTIONS="--import instrument.mjs"
140140
```
141141

142142
To set environment variables, navigate to your Lambda function, select **Configuration**, then **Environment variables**:

0 commit comments

Comments
 (0)