Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw exception when metaCPAN search response is error #579

Open
steverichey opened this issue Sep 7, 2022 · 0 comments
Open

Throw exception when metaCPAN search response is error #579

steverichey opened this issue Sep 7, 2022 · 0 comments

Comments

@steverichey
Copy link
Contributor

This line returns null when the package search fails. However, this causes other unexpected errors, such as ArgumentNullException when called by Latest(...), which is a public-facing method.

This is mainly an issue when using a newer version of Elasticsearch.Net, which is unlikely to happen on accident, but it surfaces a need for a better user-facing error in this case.

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

No branches or pull requests

1 participant