Browse Source

show response when unable to retrieve DNS records for a zone

pull/2853/head
Scott Wiersdorf 5 years ago
parent
commit
52a16c917f
  1. 2
      dnsapi/dns_cf.sh

2
dnsapi/dns_cf.sh

@ -111,7 +111,7 @@ dns_cf_rm() {
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain&content=$txtvalue"
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then
_err "Error"
_err "Error: $response"
return 1
fi

Loading…
Cancel
Save