You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/javascript/common/configuration/integrations/childProcess.mdx
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,15 +23,15 @@ supported:
23
23
24
24
<Alert>
25
25
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.
27
27
28
28
</Alert>
29
29
30
30
_Import name: `Sentry.childProcessIntegration`_
31
31
32
32
This integration is enabled by default. If you'd like to modify your default integrations, read <PlatformLinkto="/configuration/integrations/#modifying-default-integrations">Modifying Default Integrations</PlatformLink>.
33
33
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.
35
35
36
36
```JavaScript
37
37
Sentry.init({
@@ -46,3 +46,11 @@ Sentry.init({
46
46
_Type: `boolean`_
47
47
48
48
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.
0 commit comments