diff --git a/internal/timeline/prepare.go b/internal/timeline/prepare.go index 81d0ddc3..3344a0e7 100644 --- a/internal/timeline/prepare.go +++ b/internal/timeline/prepare.go @@ -127,6 +127,7 @@ func (t *timeline) prepareXBetweenIDs(ctx context.Context, amount int, behindID // This means we can remove it and skip past it. l.Debugf("db.ErrNoEntries while trying to prepare %s; will remove from timeline", entry.itemID) t.items.data.Remove(e) + continue } // We've got a proper db error. return gtserror.Newf("db error while trying to prepare %s: %w", entry.itemID, err)