Skip to content

Commit 05bfb5e

Browse files
author
Luca Forstner
committed
Rephrase JSDoc
1 parent 74ab0bd commit 05bfb5e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/node/src/integrations/onuncaughtexception.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ interface OnUncaughtExceptionOptions {
1212
// Also, we can evaluate using https://nodejs.org/api/process.html#event-uncaughtexceptionmonitor per default, and
1313
// falling back to current behaviour when that's not available.
1414
/**
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`
1820
*/
1921
exitEvenIfOtherHandlersAreRegistered: boolean;
2022

0 commit comments

Comments
 (0)