File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
packages/node/src/integrations Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ interface OnUncaughtExceptionOptions {
12
12
// Also, we can evaluate using https://nodejs.org/api/process.html#event-uncaughtexceptionmonitor per default, and
13
13
// falling back to current behaviour when that's not available.
14
14
/**
15
- * Whether the SDK should mimic native behaviour when a global error occurs. Default: `true`
16
- * - `false`: The SDK will exit the process on all uncaught errors.
17
- * - `true`: The SDK will only exit the process when there are no other 'uncaughtException' handlers attached.
15
+ * Controls if the SDK should register a handler to exit the process on uncaught errors:
16
+ * - `true`: The SDK will exit the process on all uncaught errors.
17
+ * - `false`: The SDK will only exit the process when there are no other `uncaughtException` handlers attached.
18
+ *
19
+ * Default: `true`
18
20
*/
19
21
exitEvenIfOtherHandlersAreRegistered : boolean ;
20
22
You can’t perform that action at this time.
0 commit comments