mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: improve error messages
This commit is contained in:
parent
c043998651
commit
653b645b28
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
|
||||
"github.com/go-acme/lego/v4/challenge"
|
||||
"github.com/go-acme/lego/v4/challenge/dns01"
|
||||
"github.com/go-acme/lego/v4/log"
|
||||
"github.com/go-acme/lego/v4/platform/config/env"
|
||||
"github.com/go-acme/lego/v4/providers/dns/allinkl/internal"
|
||||
"github.com/go-acme/lego/v4/providers/dns/internal/clientdebug"
|
||||
|
|
@ -135,7 +136,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
|||
for z := range dns01.UnFqdnDomainsSeq(info.EffectiveFQDN) {
|
||||
_, err := d.client.GetDNSSettings(ctx, z, "")
|
||||
if err != nil {
|
||||
fmt.Printf("allinkl: zone[%s] %v\n", z, err)
|
||||
log.Infof("allinkl: get DNS settings zone[%s] %v", z, err)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue