Ian
04/02/2017, 7:37 PMfuture {}
swallows exceptions silently, eg:
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 😞