diff options
author | 2023-07-18 10:39:16 +0200 | |
---|---|---|
committer | 2023-07-18 09:39:16 +0100 | |
commit | 346ecabd0717b4844518ded1615ab6c53c76e4be (patch) | |
tree | 67197f9bda8f621e1f22bbf340626d4c88e8270c /internal/timeline/prepare.go | |
parent | [bugfix] Set Vary header correctly on cache-control (#1988) (diff) | |
download | gotosocial-346ecabd0717b4844518ded1615ab6c53c76e4be.tar.xz |
[bugfix] Add missing `continue` statement in `prepareXBetweenIDs` (#1996)
Diffstat (limited to 'internal/timeline/prepare.go')
-rw-r--r-- | internal/timeline/prepare.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/timeline/prepare.go b/internal/timeline/prepare.go index 81d0ddc38..3344a0e73 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) |