Show source file name and position on exceptions during parsing
It would be really helpful to spot errors if the Fluid TemplateParser would show the current source file and line number on errors. Right now there's absolutely no clue in the exception handler where to look for the error.
Updated by Bastian Waidelich over 7 years ago
- Status changed from New to Needs Feedback
I think this is (kind of) a duplicate of #4704
Showing source and line number is not so easy because of the compiled templates - but at least for parsing errors it should be fairly easy (because that happens before the compilation).
Another really simple solution would be to catch ViewHelper exceptions (we already do but rethrow them in dev context) and display them inline. see http://lists.typo3.org/pipermail/flow3-general/2012-December/003172.html
Updated by Christopher Hlubek over 7 years ago
- Subject changed from Show source file name and position on exceptions to Show source file name and position on exceptions during parsing
Okay, so I would be interested to improve that at least for the parsing then. Runtime exceptions during evaluation is a different story.