Remove the exclusion for RuntimeException containing "Unable to start service".

This commit is contained in:
greenart7c3
2026-02-18 11:23:45 -03:00
parent dc7a7e0417
commit d442fee1d2
@@ -33,16 +33,12 @@ class UnexpectedCrashSaver(
t: Thread,
e: Throwable,
) {
if (e is RuntimeException && e.message?.contains("Unable to start service") == true) { // Usually happens on graphene when pressing restart app notification after an update (cant reproduce this crash)
defaultUEH!!.uncaughtException(t, e)
} else {
if (e !is OutOfMemoryError) {
// OOM reports are junk
scope.launch {
cache.writeReport(ReportAssembler().buildReport(e))
}
if (e !is OutOfMemoryError) {
// OOM reports are junk
scope.launch {
cache.writeReport(ReportAssembler().buildReport(e))
}
defaultUEH!!.uncaughtException(t, e)
}
defaultUEH!!.uncaughtException(t, e)
}
}