Report iCal errors once

This commit is contained in:
M66B 2023-11-01 22:08:52 +01:00
parent 4b2b40c2ed
commit f4fd891d63
1 changed files with 4 additions and 0 deletions

View File

@ -3801,6 +3801,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override
protected void onException(Bundle args, Throwable ex) {
if (properties.getValue("ical_error", message.id))
return;
properties.setValue("ical_error", message.id, true);
// https://github.com/mangstadt/biweekly/issues/121
if (!(ex instanceof AssertionError))
Log.unexpectedError(parentFragment.getParentFragmentManager(), ex);