Niko
09/29/2022, 5:18 PMkotlinx.html DSL exceptions are swallowed and the result of a request is just *0.0.0.0* didn't send any data. ERR_EMPTY_RESPONSE
I found this issue for Ktor 1.x: https://youtrack.jetbrains.com/issue/KTOR-756 with status of being fixed in 1.5.4.
However, I'm now using Ktor JVM 2.1.1 and kotlinx-html-jvm:0.8.0 , and all exceptions inside the DSL get swallowed and the log just shows
2022-09-29 20:12:45.948 [eventLoopGroupProxy-4-3] INFO
Application - 200 OK: GET - /<path>
Debugging the exceptions, raised exception get to the catch block in T.visitTag in commonMain/visit.kt in kotlinx-html-jvmAleksei Tirman [JB]
09/30/2022, 11:19 AMNiko
09/30/2022, 11:26 AMAleksei Tirman [JB]
09/30/2022, 11:31 AMNiko
09/30/2022, 11:33 AMAleksei Tirman [JB]
09/30/2022, 11:36 AMktor-server-html-builder library.Aleksei Tirman [JB]
09/30/2022, 11:38 AMNiko
10/07/2022, 7:18 AMCallId plugin that causes all stack traces to be consumed