]> source.dussan.org Git - archiva.git/commitdiff
Improving the exception messages so they include some more contextual information
authorHenri Yandell <bayard@apache.org>
Fri, 20 Oct 2006 17:09:52 +0000 (17:09 +0000)
committerHenri Yandell <bayard@apache.org>
Fri, 20 Oct 2006 17:09:52 +0000 (17:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@466210 13f79535-47bb-0310-9956-ffa450edef68

archiva-indexer/src/main/java/org/apache/maven/archiva/indexer/record/StandardArtifactIndexRecordFactory.java

index 965adfe1c3ad5303502ea932500665f1714fb397..df25677e4a516077de706eea0e1441533c6fdf0d 100644 (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() );
                     }
                 }
             }