The coroutines guide about exception handling ment...
# coroutines
e
The coroutines guide about exception handling mentions (https://kotlinlang.org/docs/exception-handling.html#coroutineexceptionhandler):
On Android,
uncaughtExceptionPreHandler
is installed as a global coroutine exception handler.
Where can I find that handler, as I'm interested to learn more about it? I can't find it on GitHub: https://github.com/search?l=Kotlin&q=uncaughtExceptionPreHandler&type=Code. I also cannot find it in the Android source: https://duckduckgo.com/?q=uncaughtExceptionPreHandler+site%3Ahttps%3A%2F%2Fandroid.googlesource.com.
1
g
It’s default exception handler on Android
just standard Thread.getUncaughtExceptionPreHandler()
s
I wrote a blog post about it and here's some shameless self promotion 😁 https://link.medium.com/kIhzia9g4kb
e
🙏 all!