Does the CoroutineExceptionHandler capture also a CancellatioException in the case of launch? What I would like to do is to launch a bunch of coroutines under a SupervisorJob, and I want to, for robustness, relaunch the coroutine if it fails, but not if it's cancelled.
So I was thinking to use CoroutineExceptionHandler to be cleaner.
08/19/2019, 11:20 AM
That should work. Cancellation exceptions are not handled by it, but their cause, if applicable, is.