Skip to content

Commit 40b0563

Browse files
lforstadinauer
authored andcommitted
Remove ignoreSentryErrors section in JS docs (#5036)
1 parent a1404ed commit 40b0563

File tree

1 file changed

+0
-15
lines changed
  • src/platforms/node/guides/aws-lambda

1 file changed

+0
-15
lines changed

src/platforms/node/guides/aws-lambda/index.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@ exports.handler = Sentry.AWSLambda.wrapHandler(() => {
100100
// `first` and `second` errors are captured
101101
```
102102

103-
## Ignore Sentry Errors
104-
_(New in version 6.18.0)_
105-
106-
By default, Sentry fails Lambda invocation if it is unable to send events to Sentry.
107-
In this case, even if all reported errors were handled and your handler executed successfully, Sentry will fail the whole Lambda invocation.
108-
109-
The `ignoreSentryErrors` (default: `false`) option ignores all the errors raised by Sentry
110-
111-
```javascript {tabTitle:ignoreSentryErrors}
112-
exports.handler = Sentry.AWSLambda.wrapHandler(yourHandler, {
113-
// Ignore any errors raised by the Sentry SDK on attempts to send events to Sentry
114-
ignoreSentryErrors: true,
115-
});
116-
```
117-
118103
## Behavior
119104

120105
With the AWS Lambda integration enabled, the Node SDK will:

0 commit comments

Comments
 (0)