Skip to content

Commit

Permalink
handle unknown types
Browse files Browse the repository at this point in the history
Signed-off-by: James Humphries <james@james-humphries.co.uk>
  • Loading branch information
Yantrio committed Aug 28, 2024
1 parent 2513b75 commit 6b6549e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions search/pg-indexer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ func main() {
} else if item.Type == "deletion" {
toDelete = append(toDelete, item)
handled++
} else {
log.Printf("Skipping unknown item type: %s\n", item.Type)
}
}

Expand Down

0 comments on commit 6b6549e

Please sign in to comment.