Skip to content

Commit 4988bf5

Browse files
authored
feat(v9/node): childProcessIntegration additional features (#12430)
1 parent 0c83ee0 commit 4988bf5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/platforms/javascript/common/configuration/integrations/childProcess.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ supported:
2323

2424
<Alert>
2525

26-
This integration only works in Node.js and requires SDK version `8.39.0` or higher.
26+
This integration only works in Node.js `>=20` and requires SDK version `8.39.0` or higher.
2727

2828
</Alert>
2929

3030
_Import name: `Sentry.childProcessIntegration`_
3131

3232
This integration is enabled by default. If you'd like to modify your default integrations, read <PlatformLink to="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
3333

34-
The `childProcessIntegration` adds breadcrumbs for `child_process` and `worker_threads` errors and `child_process` non-zero exit codes.
34+
The `childProcessIntegration` captures breadcrumbs and events for `child_process` and `worker_threads` errors and `child_process` non-zero exit codes.
3535

3636
```JavaScript
3737
Sentry.init({
@@ -46,3 +46,11 @@ Sentry.init({
4646
_Type: `boolean`_
4747

4848
If set to `true`, the integration will include the arguments used to start child processes.
49+
50+
### `captureWorkerErrors`
51+
52+
_Type: `boolean`_
53+
54+
By default, this option is `true`. If set to `false`, the integration will not capture errors from worker threads.
55+
56+

0 commit comments

Comments
 (0)