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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]