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

Clean up printed status messages #72

Open
SeriousBug opened this issue Dec 18, 2022 · 0 comments
Open

Clean up printed status messages #72

SeriousBug opened this issue Dec 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SeriousBug
Copy link
Owner

Instead of printing HTTP status codes like:

201 Created - {"message":"DNS Record Created"}
403 Forbidden - {"object":"HTTPForbidden","cause":"Forbidden","code":403,"message":"Access was denied to this resource."}

This tool should instead print more informative messages when the response is well-known:

Update completed successfully.
Failed due to authorization, check that the `api_key` is correct, and the `fqdn` belongs to this account.

It should also print which domain that status applies to, right now there is no way to tell them apart if one domain updates but another fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant