Skip to content

Commit

Permalink
[bugfix] Add missing continues in emoji get funcs (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmethurst authored Dec 2, 2022
1 parent bb7948f commit 34716d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/db/bundb/emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ func (e *emojiDB) emojisFromIDs(ctx context.Context, emojiIDs []string) ([]*gtsm
emoji, err := e.GetEmojiByID(ctx, id)
if err != nil {
log.Errorf("emojisFromIDs: error getting emoji %q: %v", id, err)
continue
}

emojis = append(emojis, emoji)
Expand Down Expand Up @@ -440,6 +441,7 @@ func (e *emojiDB) emojiCategoriesFromIDs(ctx context.Context, emojiCategoryIDs [
emojiCategory, err := e.GetEmojiCategory(ctx, id)
if err != nil {
log.Errorf("emojiCategoriesFromIDs: error getting emoji category %q: %v", id, err)
continue
}

emojiCategories = append(emojiCategories, emojiCategory)
Expand Down

0 comments on commit 34716d7

Please sign in to comment.