Skip to content

Commit d71b88a

Browse files
authored
docs(node): Update link to logAndExitProcess (#4835)
1 parent 79f8db5 commit d71b88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/node/common/configuration/integrations/default-integrations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The `onFatalError` option is meant to perform a cleanup before the process exits
7474

7575
<Alert level="warning" title="Note">
7676

77-
Be aware that if you overwrite this setting, you will lose the default implementation, which handles draining queued events before exiting. If you want to examine how it works in order to be able to recreate it in your code, see the implementation of the [`logAndExitProcess`](https://github.com/getsentry/sentry-javascript/blob/master/packages/node/src/handlers.ts) function.
77+
Be aware that if you overwrite this setting, you will lose the default implementation, which handles draining queued events before exiting. If you want to examine how it works in order to be able to recreate it in your code, see the implementation of the [`logAndExitProcess`](https://github.com/getsentry/sentry-javascript/blob/master/packages/node/src/integrations/utils/errorhandling.ts) function.
7878

7979
</Alert>
8080

0 commit comments

Comments
 (0)