From: Henri Yandell Date: Fri, 20 Oct 2006 17:09:52 +0000 (+0000) Subject: Improving the exception messages so they include some more contextual information X-Git-Tag: archiva-0.9-alpha-1~444 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b77cfe9b6700a386cb7d9d3b20456ff351b94714;p=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 --- diff --git a/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java b/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java index 965adfe1c..df25677e4 100644 --- a/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java +++ b/archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java @@ -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() ); } } }