kotlinx.coroutines
kotlinx.coroutines copied to clipboard
In the test module, collect and report the actual uncaught exceptions
An attempt to mitigate #1205.
A draft because it's untested and I'm not sure about the whole ANDROID_DETECTED thing (in a separate commit). @qwwdfsad, what do you think of the general approach?
@qwwdfsad, WDYT about this big rework? This is much less intrusive than the previous version, but it is still a bit unpleasant due to CoroutineExceptionHandler not being flexible enough. I described my thoughts about the underlying issue with CoroutineExceptionHandler here: https://github.com/Kotlin/kotlinx.coroutines/pull/3554
Let's finalize and merge it?
(preliminary looks good, will take a one final look when #3603 is merged)
Could you please rebase this one on the recent develop?
Sure, done.
I squashed the commits into one and wrote a detailed commit message. Did you have something like that in mind?
Exactly, nicely done!