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

list: gracefully fail in case of invalid registry #158

Merged
merged 1 commit into from
Oct 29, 2018

Conversation

m4ns0ur
Copy link
Contributor

@m4ns0ur m4ns0ur commented Oct 26, 2018

If the given domain is not a valid registry and try to get the
repository list, it fails in unmarshalling and show the JSON syntax
error.

This will catch the error and show a better error message.

Fixes: #157

If the given domain is not a valid registry and try to get the
repository list, it fails in unmarshalling and show the JSON syntax
error.

This will catch the error and show a better error message.

Fixes: genuinetools#157
@jessfraz
Copy link
Collaborator

awesome thanks!

@jessfraz jessfraz merged commit d6e3a0a into genuinetools:master Oct 29, 2018
@m4ns0ur m4ns0ur deleted the repo-unmarshal-fail branch October 29, 2018 21:51
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.

2 participants