mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-23 23:11:53 +01:00
[bugfix] Add missing continue
statement in prepareXBetweenIDs
(#1996)
This commit is contained in:
parent
12b6cdcd8c
commit
346ecabd07
@ -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 New Issue
Block a user