Skip to content

refactor: improve datastore repo index batch get error handling#5537

Open
another-rex wants to merge 1 commit into
google:masterfrom
another-rex:refactor-repo-index-error-handling
Open

refactor: improve datastore repo index batch get error handling#5537
another-rex wants to merge 1 commit into
google:masterfrom
another-rex:refactor-repo-index-error-handling

Conversation

@another-rex

Copy link
Copy Markdown
Contributor

Improve error handling in GetRepoIndexes by checking individual errors in the MultiError returned by GetMulti. This ensures that we only ignore ErrNoSuchEntity (which is expected for missing entities) and correctly propagate other potential errors.

agy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant