Skip to content

Commit

Permalink
MSHARED-1142 – remove rendundant error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Koziolek committed Sep 14, 2022
1 parent 2ba81cc commit ed9b796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public InvocationResult execute( InvocationRequest request )
}
catch ( CommandLineConfigurationException e )
{
throw new MavenInvocationException( "Error configuring command-line. Reason: " + e.getMessage(), e );
throw new MavenInvocationException( "Error configuring command-line. ", e );
}

DefaultInvocationResult result = new DefaultInvocationResult();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ protected void setGoals( InvocationRequest request, Commandline cli ) throws Com
}
catch ( CommandLineException e )
{
throw new CommandLineConfigurationException( "Problem to set goals: " + e.getMessage(), e );
throw new CommandLineConfigurationException( "Problem to set goals ", e );
}
}
}
Expand Down

0 comments on commit ed9b796

Please sign in to comment.