mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 00:22:26 -05: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…
	
	Add table
		Add a link
		
	
		Reference in a new issue