Claude Brisson
01/19/2022, 5:56 PMAleksei Tirman [JB]
01/20/2022, 9:11 AMClaude Brisson
01/20/2022, 9:14 AMinstall<StatusPages> { cause -> call.respond(io.ktor.http.HttpStatusCode.InternalServerError) }
should be enough to respond 500 if an uncatched exception happens during rendering, right?Aleksei Tirman [JB]
01/20/2022, 9:29 AMinstall(StatusPages) {
exception<Throwable> { call: ApplicationCall, _ ->
call.respond(HttpStatusCode.InternalServerError)
}
}
Claude Brisson
01/20/2022, 9:45 AM