gulp-freemarker icon indicating copy to clipboard operation
gulp-freemarker copied to clipboard

When freemarker cannot parse and encounters an error, the output text is not available

Open allen-ziegenfus opened this issue 8 years ago • 0 comments

fmpp returns useful output text in case of errors that is not being passed on by this plugin. could we maybe change this to add the output to the error object? In the error object currently we just have the information that the command failed.

error: Error: Command failed: /bin/sh -c blah blah html: null output:>>> ABORTED! <<<

The cause of aborting was: FreeMarker template error: The following has evaluated to null or missing: ==> joe [in template "symposium-css.ftl" at line 2, column 3]

allen-ziegenfus avatar Jun 17 '16 10:06 allen-ziegenfus