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

Better visualization of suppressed exceptions in Sentry UI

Open adinauer opened this issue 9 months ago • 2 comments

Problem Statement

Currently suppressed exceptions show up like any other chained exception in Sentry UI. While we are planning to mark them as suppressed, it will still be hard to grasp how all the reported exceptions are related.

We already have a UI component in Sentry that displays exception groups but that is tied to processing code in Sentry which causes grouping to break for certain Java exceptions with suppressed exceptions and no cause.

Solution Brainstorm

We could have a more generic UI component in Sentry that visualizes chained and suppressed exceptions in a short overview with links to the full exception with stack trace, similar to what exists for exception groups.

If we don't want to have something like this for all chained exceptions, we can maybe simply check if there's more than one exception that has the same parent exception ID and only display the component for that.

adinauer avatar Jan 22 '25 05:01 adinauer