-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Rework handling of AggregateException
to align with Sentry Exception Groups
#2287
Conversation
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- Rework handling of `AggregateException` to align with Sentry Exception Groups ([#2287](https://github.com/getsentry/sentry-dotnet/pull/2287)) If none of the above apply, you can opt out of this check by adding |
AggregateException
to align with Sentry Exception Groups
8ec5042
to
c8bbb04
Compare
b485a46
to
2c65ad7
Compare
2c65ad7
to
09d946a
Compare
Reminder to self: Update changelog before publishing to include note about which Sentry version this is compatible with. |
This can be shipped as soon as getsentry/sentry#48653 is completed and released to production. Also, for the best experience with exception groups, self-hosted Sentry users should take the corresponding update when it is available. |
This PR updates the .NET SDK to align with the new "exception groups" feature of Sentry. See #2240, and Sentry RFC 79 for details.
Aligns with full changes listed at getsentry/sentry#37716 (comment)
This changes how
AggregateException
is handled. Instead of filtering them out client-side, the SDK marks them as an "exception group", and adds includes data that represents the hierarchical structure of inner exceptions. Sentry now recognizes this server-side, improving the accuracy of the issue detail page.Accordingly, the
KeepAggregateException
option is now obsolete and does nothing. Please remove any usages ofKeepAggregateException
.NOTE: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. The effect of updating the SDK early will be as if
KeepAggregateException = true
was set. That will not break anything, but may affect issue grouping and alerts.Closes #2240.