Skip to content

Clean up printed status messages #72

Open
@SeriousBug

Description

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.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions