Skip to content

Commit

Permalink
[bugfix] Add missing continue statement in prepareXBetweenIDs (#1996
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tsmethurst authored Jul 18, 2023
1 parent 12b6cdc commit 346ecab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/timeline/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 346ecab

Please sign in to comment.