ProcessOutput (final Exception e) { LOG.warn(e); return new ProcessOutput() { @NotNull @Override public String getStderr() { String err = super.getStderr(); if (!StringUtil.isEmpty(err)) { err += "\n" + e.getMessage(); } else { err = e.getMessage(); } return err; } }; }