forked from mirrors/gotosocial
[bugfix] Add missing continue
statement in prepareXBetweenIDs
(#1996)
This commit is contained in:
parent
12b6cdcd8c
commit
346ecabd07
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue