diff --git a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx index 149fccca16eeb..111dfbc07ff08 100644 --- a/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/childProcess.mdx @@ -23,7 +23,7 @@ supported: -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. @@ -31,7 +31,7 @@ _Import name: `Sentry.childProcessIntegration`_ This integration is enabled by default. If you'd like to modify your default integrations, read Modifying Default Integrations. -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({ @@ -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. + +