spand
04/04/2017, 9:51 AMfun Application.main() {
install(CallLogging)
install(Routing) {
get("/") {
throw Exception("Foo")
call.respondText("Hello, World!")
}
}
}
Produces a 404orangy
orangy
CallLogging
captures exception and doesn’t respond with 500, let me think… we can’t really send a 500 through a response pipeline in this case, because it could be response pipeline that is broken…orangy
spand
04/04/2017, 11:40 AMspand
04/04/2017, 11:40 AMorangy
spand
04/04/2017, 11:55 AMorangy
orangy
spand
04/04/2017, 12:25 PM