mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-11-26 22:30:25 +00:00
[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.
|
// 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)
|
l.Debugf("db.ErrNoEntries while trying to prepare %s; will remove from timeline", entry.itemID)
|
||||||
t.items.data.Remove(e)
|
t.items.data.Remove(e)
|
||||||
|
continue
|
||||||
}
|
}
|
||||||
// We've got a proper db error.
|
// We've got a proper db error.
|
||||||
return gtserror.Newf("db error while trying to prepare %s: %w", entry.itemID, err)
|
return gtserror.Newf("db error while trying to prepare %s: %w", entry.itemID, err)
|
||||||
|
|
Loading…
Reference in a new issue