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:
Henri Yandell 2006-10-20 17:09:52 +00:00
parent 877a2b8925
commit b77cfe9b67
1 changed files with 2 additions and 2 deletions

View File

@ -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() );
}
}
}