boolean (IdeaLoggingEvent @NotNull [] events, @Nullable String additionalInfo, @NotNull Component parentComponent, @NotNull Consumer<? super SubmittedReportInfo> consumer) { try { consumer.consume(submit(events, parentComponent)); return true; } catch (UnsupportedOperationException e) { Logger.getInstance(getClass()).warn(e); consumer.consume(new SubmittedReportInfo(null, e.getMessage(), SubmittedReportInfo.SubmissionStatus.FAILED)); return false; } }