Ignore Biweekly assertion errors

pull/209/head
M66B 2 years ago
parent 11c2b50977
commit 44065bc519

@ -3561,6 +3561,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
protected void onException(Bundle args, Throwable 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");
@ -3805,6 +3807,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
protected void onException(Bundle args, Throwable ex) {
if (!(ex instanceof AssertionError))
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);
}
}.execute(context, owner, args, "message:participation");

Loading…
Cancel
Save