From 2abc63f0747d3b6862a5cf2a50727e3775dccd52 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Fri, 13 May 2022 10:05:52 +0200 Subject: [PATCH] Remove `ignoreSentryErrors` section in JS docs --- src/platforms/node/guides/aws-lambda/index.mdx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/platforms/node/guides/aws-lambda/index.mdx b/src/platforms/node/guides/aws-lambda/index.mdx index 04e8e3b495074..d3076e1e77784 100644 --- a/src/platforms/node/guides/aws-lambda/index.mdx +++ b/src/platforms/node/guides/aws-lambda/index.mdx @@ -100,21 +100,6 @@ exports.handler = Sentry.AWSLambda.wrapHandler(() => { // `first` and `second` errors are captured ``` -## Ignore Sentry Errors -_(New in version 6.18.0)_ - -By default, Sentry fails Lambda invocation if it is unable to send events to Sentry. -In this case, even if all reported errors were handled and your handler executed successfully, Sentry will fail the whole Lambda invocation. - -The `ignoreSentryErrors` (default: `false`) option ignores all the errors raised by Sentry - -```javascript {tabTitle:ignoreSentryErrors} -exports.handler = Sentry.AWSLambda.wrapHandler(yourHandler, { - // Ignore any errors raised by the Sentry SDK on attempts to send events to Sentry - ignoreSentryErrors: true, -}); -``` - ## Behavior With the AWS Lambda integration enabled, the Node SDK will: