sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Allow multiple UncaughtExceptionHandlerIntegrations to be active

Open lbloder opened this issue 5 months ago • 1 comments

:scroll: Description

Reworks registration and removal of UncaughtExceptionHandlerIntegration to be able to add one UncaughtExceptionHandlerIntegration per scopes.globalScope. Functionality is now consistent with the documentation about using Sentry in an SDK here.

:bulb: Motivation and Context

Fixes #4429

:green_heart: How did you test it?

  • Added new automated tests

:pencil: Checklist

  • [x] I added tests to verify the changes.
  • [x] No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • [x] I updated the docs if needed.
  • [x] I updated the wizard if needed.
  • [ ] Review from the native team if needed.
  • [x] No breaking change or entry added to the changelog.
  • [x] No breaking change for hybrid SDKs or communicated to hybrid SDKs.

:crystal_ball: Next steps

lbloder avatar May 28 '25 13:05 lbloder