How to Passing ParserException of Thymeleaf 3

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Passing ParserException of Thymeleaf 3

nhatanh2996
I want my view will render this as a empty and the  Output at console still throw exception
It's equivalent "spring.freemarker.settings.template_exception_handler=ignore" in freemarker



Any idea ? pls help me
Reply | Threaded
Open this post in threaded view
|

Re: How to Passing ParserException of Thymeleaf 3

tommyhp2
Your expression is invalid.  If you provide more of the original code that throws the exception would provide better insight.
Reply | Threaded
Open this post in threaded view
|

Re: How to Passing ParserException of Thymeleaf 3

nhatanh2996
I know how to fix that but I want  it still running and render empty this code error. it look like config to ignore exception of thymeleaf template on view but still print Error at output for developer can fix that