mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 20:34:49 +01:00
Prevent crash due to "Exception while computing database"
This commit is contained in:
@@ -89,8 +89,10 @@ class RoomTrackingLiveData<T> extends LiveData<T> {
|
||||
try {
|
||||
value = mComputeFunction.call();
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Exception while computing database"
|
||||
+ " live data.", e);
|
||||
eu.faircode.email.Log.w(e);
|
||||
//throw new RuntimeException("Exception while computing database"
|
||||
// + " live data.", e);
|
||||
computed = false;
|
||||
}
|
||||
}
|
||||
if (computed) {
|
||||
|
||||
Reference in New Issue
Block a user