hard20 pts · first answer countsandroidcoroutineserror-handling
Handler on a child coroutine
A crash still happens even though the inner launch has a CoroutineExceptionHandler. Why?
scope.launch {
launch(CoroutineExceptionHandler { _, e -> log(e) }) {
throw IOException("boom")
}
}Discussion 0
Join free to post in the discussion.
Related questions
- Android activity start orderMobile App Developer
- What AndroidManifest.xml is forMobile App Developer
- Sharing text to any appMobile App Developer
- Play Console rejects the build versionMobile App Developer
- lateinit or by lazyMobile App Developer
- A chain of safe callsMobile App Developer
- What !! does on nullMobile App Developer
- What let returnsMobile App Developer