streetsofboston
01/25/2019, 5:55 PMlaunch will use the CoroutineExceptionHandlerasync, the exception is thrown when using await()Allan Wang
01/25/2019, 6:34 PMexceptionHandler isn’t being used by launch without specifying job againstreetsofboston
01/25/2019, 6:35 PMneworldlt
01/25/2019, 7:38 PMstreetsofboston
01/25/2019, 8:03 PMjob is a parameter of launch it works….
...
withContext(exceptionHandler) {
launch(job) { throw RuntimeException("foo") }
}
...neworldlt
01/25/2019, 9:10 PMwithContextstreetsofboston
01/25/2019, 9:11 PM