Throw a build exception if Velocity freaks out.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5863 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -249,8 +249,7 @@ public class GenDObjectTask extends Task
|
||||
_velocity.mergeTemplate(
|
||||
BASE_TMPL + tname, "UTF-8", ctx, mwriter);
|
||||
} catch (Exception e) {
|
||||
System.err.println("Failed processing template");
|
||||
e.printStackTrace(System.err);
|
||||
throw new BuildException("Failed processing template", e);
|
||||
}
|
||||
|
||||
// and append them as appropriate to the string buffers
|
||||
|
||||
Reference in New Issue
Block a user