Clean up printed status messages
SeriousBug opened this issue · 0 comments
SeriousBug commented
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.