diff options
author | Henri Yandell <bayard@apache.org> | 2006-10-20 17:09:52 +0000 |
---|---|---|
committer | Henri Yandell <bayard@apache.org> | 2006-10-20 17:09:52 +0000 |
commit | b77cfe9b6700a386cb7d9d3b20456ff351b94714 (patch) | |
tree | 2243a3689537bc209c6f864828053bcbc0e9a8a5 | |
parent | 877a2b8925923f7e327d9563449439cfb8cb8e0c (diff) | |
download | archiva-b77cfe9b6700a386cb7d9d3b20456ff351b94714.tar.gz archiva-b77cfe9b6700a386cb7d9d3b20456ff351b94714.zip |
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
-rw-r--r-- | archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
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() ); } } } |