Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ supported:

<Alert>

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

</Alert>

_Import name: `Sentry.childProcessIntegration`_

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>.

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

```JavaScript
Sentry.init({
Expand All @@ -46,3 +46,11 @@ Sentry.init({
_Type: `boolean`_

If set to `true`, the integration will include the arguments used to start child processes.

### `captureWorkerErrors`

_Type: `boolean`_

By default, this option is `true`. If set to `false`, the integration will not capture errors from worker threads.


Loading