Include the traceback when we fail to extract a name from source

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6419 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Charlie Groves
2011-01-06 09:09:01 +00:00
parent edf6dccdf7
commit b4af8a0384
@@ -233,7 +233,7 @@ public abstract class GenTask extends Task
try {
name = GenUtil.readClassName(source);
} catch (Exception e) {
throw new BuildException("Failed to parse " + source + ": " + e.getMessage());
throw new BuildException("Failed to parse " + source, e);
}
return loadClass(name);
}