Any advice for debugging: ```Uncaught Kotlin excep...
# kotlin-native
d
Any advice for debugging:
Copy code
Uncaught Kotlin exception: kotlinx.coroutines.CoroutinesInternalError: Fatal exception in coroutines machinery for DispatchedContinuation[WorkerCoroutineDispatcherImpl@d81448, Continuation @ $collect_2COROUTINE$220]. Please read KDoc to 'handleFatalException' method and report this incident to maintainers
This is when one of my Flows ends; everything is in the main thread... ­čś▒
t
The
cause
of this exception should be more helpful
d
t
Looks like something is going wrong in a coroutine in the init block of
com.redacted.shared.presentation.NavigationViewModel
d
hard to say, but it seems like your
NavigationViewModel
is firing off a suspend method that's throwing an exception which is not being handled.
d
Thanks guys, I traced it ­čĹŹ
t
Great to hear. These `CoroutinesInternalError`s can be hard but most of the times the
cause
should at least give an idea where something is going wrong.