mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] fixes broken composition of induced exceptions stacktraces' attachment
This commit is contained in:
@@ -413,7 +413,7 @@ public class IdeErrorsDialog extends DialogWrapper implements MessagePoolListene
|
||||
stacktraces.append(each.getThrowableText());
|
||||
}
|
||||
}
|
||||
attachments.set(0, new Attachment(INDUCED_STACKTRACES_ATTACHMENT, stacktraces.toString()));
|
||||
attachments.add(new Attachment(INDUCED_STACKTRACES_ATTACHMENT, stacktraces.toString()));
|
||||
|
||||
return new RepackedLogMessage(mainCause.getThrowable(), mainCause.getMessage(), attachments, message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user