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]'
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]'