diff --git a/src/main/org/apache/tools/ant/taskdefs/Expand.java b/src/main/org/apache/tools/ant/taskdefs/Expand.java index 9606c1476..afa767f0e 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Expand.java +++ b/src/main/org/apache/tools/ant/taskdefs/Expand.java @@ -144,7 +144,8 @@ public class Expand extends Task { log("expand complete", Project.MSG_VERBOSE); } catch (IOException ioe) { - throw new BuildException("Error while expanding " + srcF.getPath(), + throw new BuildException("Error while expanding " + srcF.getPath() + +"\n"+ioe.toString(), ioe); } finally { ZipFile.closeQuietly(zf);