maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r892636 - /maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java
Date Sun, 20 Dec 2009 18:25:14 GMT
Author: bentmann
Date: Sun Dec 20 18:25:13 2009
New Revision: 892636

URL: http://svn.apache.org/viewvc?rev=892636&view=rev
Log:
[WAGON-294] Make problems with remote deployment explicit

Modified:
    maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java
URL: http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java?rev=892636&r1=892635&r2=892636&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java
(original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/jsch/SftpWagon.java
Sun Dec 20 18:25:13 2009
@@ -281,7 +281,7 @@
         {
             String msg =
                 "Error occurred while deploying '" + sourceDirectory.getAbsolutePath() +
"' " + "to remote repository: "
-                    + getRepository().getUrl();
+                    + getRepository().getUrl() + ": " + e.getMessage();
 
             throw new TransferFailedException( msg, e );
         }
@@ -401,7 +401,7 @@
         {
             String msg =
                 "Error occurred while listing '" + destinationDirectory + "' " + "on remote
repository: "
-                    + getRepository().getUrl();
+                    + getRepository().getUrl() + ": " + e.getMessage();
 
             throw new TransferFailedException( msg, e );
         }
@@ -434,7 +434,7 @@
         {
             String msg =
                 "Error occurred while looking for '" + resourceName + "' " + "on remote repository:
"
-                    + getRepository().getUrl();
+                    + getRepository().getUrl() + ": " + e.getMessage();
 
             throw new TransferFailedException( msg, e );
         }
@@ -530,7 +530,7 @@
 
             String msg =
                 "Error occurred while deploying '" + resource.getName() + "' " + "to remote
repository: "
-                    + getRepository().getUrl();
+                    + getRepository().getUrl() + ": " + e.getMessage();
 
             throw new TransferFailedException( msg, e );
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message