continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r431986 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
Date Wed, 16 Aug 2006 18:48:00 GMT
Author: carlos
Date: Wed Aug 16 11:48:00 2006
New Revision: 431986

URL: http://svn.apache.org/viewvc?rev=431986&view=rev
Log:
Log user errors for debug purposes

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java?rev=431986&r1=431985&r2=431986&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
Wed Aug 16 11:48:00 2006
@@ -102,14 +102,14 @@
         }
         catch (MalformedURLException e)
         {
+            getLogger().debug( "Error adding project: Malformed URL " + url, e );
             result.addError( ContinuumProjectBuildingResult.ERROR_MALFORMED_URL );
-            
             return;
         }
         catch ( IOException e )
         {
-            result.addError( ContinuumProjectBuildingResult.ERROR_METADATA_TRANSFER );
-
+            getLogger().debug( "Error adding project: Unknown error downloading from " +
url, e );
+            result.addError( ContinuumProjectBuildingResult.ERROR_UNKNOWN );
             return;
         }
 



Mime
View raw message