Skip to content

Commit 03aa7db

Browse files
authored
Fixed incorrect instrument.mjs filename (#12454)
1 parent 49e5788 commit 03aa7db

File tree

1 file changed

+1
-1
lines changed
  • docs/platforms/javascript/guides/aws-lambda/install

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const handler = Sentry.wrapHandler(async (event, context) => {
139139

140140
### 4. Load the SDK
141141

142-
To load the SDK before your function starts, you need to preload the `instrumentation.mjs` by setting the `NODE_OPTIONS` environment variable:
142+
To load the SDK before your function starts, you need to preload the `instrument.mjs` by setting the `NODE_OPTIONS` environment variable:
143143

144144
```bash
145145
NODE_OPTIONS="--import instrument.mjs"

0 commit comments

Comments
 (0)