Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(node): Do not exit process by default when other onUncaughtException handlers are registered in onUncaughtExceptionIntegration #11532

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

lforst
Copy link
Member

@lforst lforst commented Apr 10, 2024

Ref: #1661
Ref: #6146

This PR sets the default for the exitEvenIfOtherHandlersAreRegistered option of the onUncaughtExceptionIntegration to false. Effectively this means that going forward, by default, Sentry will not try to exit the process when there are other onUncaughtException handlers attached.

In the Next.js SDK we needed to override the option for this integration to false, so now it will be in line with the global default.

lforst added 2 commits April 10, 2024 12:58
…ption` handlers are registered in `onUncaughtExceptionIntegration`
@lforst lforst marked this pull request as ready for review April 10, 2024 13:55
@lforst lforst requested review from mydea, Lms24, AbhiPrasad and s1gr1d April 10, 2024 13:55
@lforst lforst merged commit 700562d into develop Apr 10, 2024
78 checks passed
@lforst lforst deleted the lforst-exception-default branch April 10, 2024 14:24
cadesalaberry pushed a commit to cadesalaberry/sentry-javascript that referenced this pull request Apr 19, 2024
…ption` handlers are registered in `onUncaughtExceptionIntegration` (getsentry#11532)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants