Skip to content

Commit 3dc874b

Browse files
authored
Minor updates.
1 parent de21794 commit 3dc874b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/platforms/javascript/common/configuration/integrations/default.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Available options:
9090

9191
_Import name: `Sentry.Integrations.LinkedErrors`_
9292

93-
This integration allows you to configure linked errors. They’ll be recursively read up to a specified limit, and lookup will be performed by a specific key. By default, the Sentry SDK sets the limit to five and the key used is `cause`.
93+
This integration allows you to configure linked errors. They’ll be recursively read up to a specified limit, and lookup will be performed by a specific key. By default, the Sentry SDK sets the limit to five and the key used is `"cause"`.
9494

9595
Available options:
9696

src/platforms/node/common/configuration/integrations/default-integrations.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,21 @@ _Import name: `Sentry.Integrations.FunctionToString`_
2727
This integration allows the SDK to provide original function and method names, even when those functions or methods
2828
are wrapped by our error or breadcrumb handlers.
2929

30+
### LinkedErrors
31+
32+
_Import name: `Sentry.Integrations.LinkedErrors`_
33+
34+
This integration allows you to configure linked errors. They'll be recursively read up to a specified limit, and lookup will be performed by a specific key. By default, the limit is set to `5` and the key used is `"cause"`.
35+
36+
Available options:
37+
38+
```javascript
39+
{
40+
key: string; // default: "cause"
41+
limit: number; // default: 5
42+
}
43+
```
44+
3045
## Node-specific
3146

3247
### Console
@@ -75,7 +90,7 @@ Available options:
7590

7691
_Import name: `Sentry.Integrations.OnUnhandledRejection`_
7792

78-
This integration attaches a global unhandled rejection handler. By default, all unhandled rejections trigger a warning and log the error. You can change this behavior using the `mode` option, which is works with Node's CLI options: https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode.
93+
This integration attaches a global unhandled rejection handler. By default, all unhandled rejections trigger a warning and log the error. You can change this behavior using the `mode` option, which works with Node's CLI options: https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode.
7994

8095
Available options:
8196

@@ -102,21 +117,6 @@ Available options:
102117
}
103118
```
104119

105-
### LinkedErrors
106-
107-
_Import name: `Sentry.Integrations.LinkedErrors`_
108-
109-
This integration allows you to configure linked errors. They'll be recursively read up to a specified limit, and lookup will be performed by a specific key. By default, the limit is set to 5 and the key used is `"cause"`.
110-
111-
Available options:
112-
113-
```javascript
114-
{
115-
key: string; // default: "cause"
116-
limit: number; // default: 5
117-
}
118-
```
119-
120120
### Modules
121121

122122
_(New in version 7.13.0.)_

0 commit comments

Comments
 (0)