From b77cfe9b6700a386cb7d9d3b20456ff351b94714 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 20 Oct 2006 17:09:52 +0000 Subject: [PATCH] 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 --- .../indexer/record/StandardArtifactIndexRecordFactory.java | 4 ++-- 1 file 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() ); } } } -- 2.39.5