Skip to content
Permalink
Browse files
Better error message.
  • Loading branch information
garydgregory committed Jul 2, 2018
1 parent 5679e79 commit 225e6f1be73ea3695680a21dbb8b85b24bcba4cb
Showing 1 changed file with 2 additions and 1 deletion.
@@ -204,7 +204,8 @@ public void execute() throws MojoExecutionException, MojoFailureException {
fileSet
);
if (!addResult.isSuccess()) {
throw new MojoExecutionException("Failed to add files to scm");
throw new MojoExecutionException("Failed to add files to scm: " + addResult.getProviderMessage()
+ " [" + addResult.getCommandOutput() + "]");
}
getLog().info("Staging release: " + project.getArtifactId() + ", version: " + project.getVersion());
CheckInScmResult checkInResult = provider.checkIn(

0 comments on commit 225e6f1

Please sign in to comment.