Looks like `future {}` swallows exceptions silentl...
# coroutines
i
Looks like
future {}
swallows exceptions silently, eg:
Copy code
fun main(args: Array<String>) {
    future {
        throw RuntimeException("Hello!")
    }
}
Produces no exception. Is there a recommended pattern to get around this problem? I just spent about 3 hours tracking down a bug that would have been immediately obvious if I’d seen the exception 😞
☝️ 1