Closed Masterzach32 closed 2 years ago
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
@Masterzach32 I can catch TemplateNotFoundException
and ParseException
with StatusPages on Ktor 1.6.0. Please tell me how exactly do you trigger TemplateException
?
Ktor Version and Engine Used (client or server and name) 1.3.2, Netty server, FreeMarker and StatusPages
Describe the bug If an exception is thrown while generating a html page using FreeMarker (ie. FreeMarker throws a TemplateException), the StatusPages feature does not consume it. I've tried catching Throwable and TemplateException: