diff --git a/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java b/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java index d5e81f36..ec00b588 100644 --- a/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java +++ b/src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java @@ -1382,6 +1382,10 @@ private CommandResult executeCommand(final Commandline cmd, throw new MojoFailureException(errorStr); } + if (verbose && StringUtils.isNotBlank(errorStr)) { + getLog().warn(errorStr); + } + return new CommandResult(exitCode, outStr, errorStr); }