mirror of https://github.com/apache/maven.git
merge from tag maven-2.0, rev 326248
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d84c677a90
commit
925b341c17
|
@ -86,7 +86,7 @@ public final class DiagnosisUtils
|
||||||
{
|
{
|
||||||
String rootMsg = root.getMessage();
|
String rootMsg = root.getMessage();
|
||||||
|
|
||||||
if ( rootMsg != null && error.getMessage().indexOf( rootMsg ) < 0 )
|
if ( rootMsg != null && ( error.getMessage() == null || error.getMessage().indexOf( rootMsg ) < 0 ) )
|
||||||
{
|
{
|
||||||
message.append( "\n" ).append( rootMsg );
|
message.append( "\n" ).append( rootMsg );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue