michaelv
02/12/2022, 1:02 AMinstall(StatusPages) {
exception<Throwable> { cause ->
call.respond(HttpStatusCode.InternalServerError)
}
}
But if I use 2.0.0-beta-1 instead of 2.0.0-eap-256 then it complains like this. Anyone else seeing that? I did a search and didn’t see anyone post about it yet.
https://ktor.io/docs/status-pages.html#exceptionsmichaelv
02/12/2022, 1:09 AMinstall(StatusPages) {
exception<Throwable> { call, cause ->
call.respond(HttpStatusCode.InternalServerError)
throw cause
}
}