I’m seeing a weird bug related to exception handli...
# ktor
j
I’m seeing a weird bug related to exception handling in ktor and routes
Copy code
try { newSuspendedTransaction{ throw RuntimeException("test") }} catch (t: Throwable) {}
makes the request fail. However if I use the Dispatchers.IO context it works as expected
Copy code
newSuspendedTransaction(<http://Dispatchers.IO|Dispatchers.IO>) {}
why is this needed?