Ignore Biweekly assertion errors

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

@ -3561,7 +3561,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
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");
}
@ -3805,7 +3807,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
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");
}

Loading…
Cancel
Save