bitkid
08/20/2019, 2:35 PMbitkid
08/20/2019, 2:47 PMcall.respondTextWriter { db.query { write(rs.next())}}
but all exceptions within the respondTextWriter block should actually lead to a different http status code. what i could do is something like db.query{call.respondTextWriter {}}
but i would need something like launch{} in that code and its a bit ugly to pass the call into that functionbitkid
08/20/2019, 2:48 PMbitkid
08/20/2019, 2:55 PM