mirror of https://github.com/apache/archiva.git
Improving the exception messages so they include some more contextual information
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@466210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
877a2b8925
commit
b77cfe9b67
|
@ -160,7 +160,7 @@ public class StandardArtifactIndexRecordFactory
|
|||
}
|
||||
catch ( ProjectBuildingException e )
|
||||
{
|
||||
getLogger().error( "Error reading POM file, not populating in index: " + e.getMessage() );
|
||||
getLogger().error( "Error reading POM file ["+pomFile+"] for " + artifact + ", not populating in index: " + e.getMessage() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ public class StandardArtifactIndexRecordFactory
|
|||
}
|
||||
catch ( ProjectBuildingException e )
|
||||
{
|
||||
getLogger().error( "Error reading POM file, not populating in index: " + e.getMessage() );
|
||||
getLogger().error( "Error reading POM file for " + artifact + ", not populating in index: " + e.getMessage() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue