ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r381998 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
Date Wed, 01 Mar 2006 11:59:57 GMT
Author: stevel
Date: Wed Mar  1 03:59:54 2006
New Revision: 381998

URL: http://svn.apache.org/viewcvs?rev=381998&view=rev
Log:
include the caught exception when relayed

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java?rev=381998&r1=381997&r2=381998&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java Wed Mar  1
03:59:54 2006
@@ -2348,7 +2348,7 @@
             }
 
         } catch (IOException ex) {
-            throw new BuildException("error during FTP transfer: " + ex);
+            throw new BuildException("error during FTP transfer: " + ex,ex);
         } finally {
             if (ftp != null && ftp.isConnected()) {
                 try {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message