Skip to content

Commit feafa76

Browse files
authored
Merge a0917c6 into 46f1597
2 parents 46f1597 + a0917c6 commit feafa76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sentry/src/main/java/io/sentry/SentryExceptionFactory.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ Deque<SentryException> extractExceptionQueueInternal(
189189

190190
Throwable[] suppressed = currentThrowable.getSuppressed();
191191
if (suppressed != null && suppressed.length > 0) {
192-
exceptionMechanism.setExceptionGroup(true);
192+
// Disabled for now as it causes grouping in Sentry to sometimes use
193+
// the suppressed exception as main exception.
194+
// exceptionMechanism.setExceptionGroup(true);
193195
for (Throwable suppressedThrowable : suppressed) {
194196
extractExceptionQueueInternal(
195197
suppressedThrowable, exceptionId, circularityDetector, exceptions);

0 commit comments

Comments
 (0)