mirror of
https://github.com/mihonapp/mihon.git
synced 2026-10-16 13:48:09 -07:00
Log app scope failures instead of crashing outside debug builds
This commit is contained in:
@@ -9,6 +9,9 @@ import dev.zacsweers.metro.Qualifier
|
||||
* [kotlinx.coroutines.Dispatchers.IO], so a failure in one child never takes the others down. Use it for work that is
|
||||
* owned by an application scoped component and must outlive any screen. Work that belongs to a screen, a view model or
|
||||
* another cancellable lifecycle keeps its own scope.
|
||||
*
|
||||
* A child that fails with an uncaught exception is logged and reported instead of crashing the app, except in debug
|
||||
* builds, since by the time it fails the screen that started it may be long gone.
|
||||
*/
|
||||
@Qualifier
|
||||
@Target(
|
||||
|
||||
Reference in New Issue
Block a user