Skip to content

Commit e358dfb

Browse files
committed
doc: addressed comments about exit code
1 parent 7ee423c commit e358dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/tracing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ in your code, such as:
8787
```js
8888
process.on('SIGINT', function onSigint() {
8989
console.info('Received SIGINT.');
90-
process.exit();
90+
process.exit(130); // Or applicable exit code depending on OS and signal
9191
});
9292
```
9393

0 commit comments

Comments
 (0)