From 385b5541c3cf783621241b9c46a60df6485db56d Mon Sep 17 00:00:00 2001 From: Yurii Bliusiuk <44525451+YuriyBl@users.noreply.github.com> Date: Fri, 24 Jan 2025 08:37:48 +0100 Subject: [PATCH] Fixed incorrect instrument.mjs filename --- docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx b/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx index 015b716e8bc12..8a1010140d9ee 100644 --- a/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx +++ b/docs/platforms/javascript/guides/aws-lambda/install/esm-npm.mdx @@ -139,7 +139,7 @@ export const handler = Sentry.wrapHandler(async (event, context) => { ### 4. Load the SDK -To load the SDK before your function starts, you need to preload the `instrumentation.mjs` by setting the `NODE_OPTIONS` environment variable: +To load the SDK before your function starts, you need to preload the `instrument.mjs` by setting the `NODE_OPTIONS` environment variable: ```bash NODE_OPTIONS="--import instrument.mjs"