Skip to content

Commit 500151e

Browse files
committed
Add more log for verbose mode - closes #331
1 parent 62e8b47 commit 500151e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/amashchenko/maven/plugin/gitflow/AbstractGitFlowMojo.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,10 @@ private CommandResult executeCommand(final Commandline cmd,
13821382
throw new MojoFailureException(errorStr);
13831383
}
13841384

1385+
if (verbose && StringUtils.isNotBlank(errorStr)) {
1386+
getLog().warn(errorStr);
1387+
}
1388+
13851389
return new CommandResult(exitCode, outStr, errorStr);
13861390
}
13871391

0 commit comments

Comments
 (0)