Skip to content

Commit

Permalink
Add more log for verbose mode - closes #331
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-m committed Mar 2, 2022
1 parent 62e8b47 commit 500151e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 500151e

Please sign in to comment.