1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

CLOUDFLARE: Error messages should indicate which cred entry (#1690)

This commit is contained in:
Tom Limoncelli
2022-08-11 13:10:06 -04:00
committed by GitHub
parent e49f743846
commit f24c250c46

View File

@ -16,7 +16,7 @@ func (c *cloudflareProvider) fetchDomainList() error {
c.nameservers = map[string][]string{}
zones, err := c.cfClient.ListZones(context.Background())
if err != nil {
return fmt.Errorf("failed fetching domain list from cloudflare: %s", err)
return fmt.Errorf("failed fetching domain list from cloudflare(%q): %s", c.cfClient.APIEmail, err)
}
for _, zone := range zones {