Skip to content

Remove ignoreSentryErrors section in JS docs #5036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/platforms/node/guides/aws-lambda/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down