mirror of https://github.com/M66B/FairEmail.git
Ignore Biweekly assertion errors
This commit is contained in:
parent
11c2b50977
commit
44065bc519
|
@ -3561,7 +3561,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onException(Bundle args, Throwable ex) {
|
protected void onException(Bundle args, Throwable ex) {
|
||||||
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
|
// https://github.com/mangstadt/biweekly/issues/121
|
||||||
|
if (!(ex instanceof AssertionError))
|
||||||
|
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
|
||||||
}
|
}
|
||||||
}.setLog(false).execute(context, owner, args, "message:calendar");
|
}.setLog(false).execute(context, owner, args, "message:calendar");
|
||||||
}
|
}
|
||||||
|
@ -3805,7 +3807,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onException(Bundle args, Throwable ex) {
|
protected void onException(Bundle args, Throwable ex) {
|
||||||
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
|
if (!(ex instanceof AssertionError))
|
||||||
|
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
|
||||||
}
|
}
|
||||||
}.execute(context, owner, args, "message:participation");
|
}.execute(context, owner, args, "message:participation");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue