void (@NotNull CommandExecutor executor) { // could be situations when exit code = 0, but there is info "warning" in error stream for instance, for "svn status" // on non-working copy folder if (!StringUtil.isEmptyOrSpaces(executor.getErrorOutput())) { // here exitCode == 0, but some warnings are in error stream LOG.info("Detected warning - " + executor.getErrorOutput()); } }