ijse / freemarker.js

make freemarker available for node.js with FMPP.
http://freemarker.js.org/
MIT License
111 stars 41 forks source link

Added respData to error callbacks for better debuging/reporting. #10

Closed danjvickers closed 9 years ago

danjvickers commented 9 years ago

Added the respData to the error callback so that better debugging is exposed which is really helpfull when errors occur. For example: ' >>> ABORTED! <<<

The cause of aborting was: FreeMarker template error: The following has evaluated to null or missing: ==> currentModel.items [in template "components/carousel/legacy/carousel.ftl" at line 7, column 20]'