From 876451b3468c9fb22b8933fbe32e3fff9c7ec201 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Wed, 18 Dec 2024 16:04:40 -0500 Subject: [PATCH 1/2] empty From 76bbdc191a058724735a429818dcf7f5a656edb0 Mon Sep 17 00:00:00 2001 From: Tom Limoncelli Date: Thu, 19 Dec 2024 11:37:09 -0500 Subject: [PATCH 2/2] GANDI_V5: Increase error verbosity (#3267) --- providers/gandiv5/gandi_v5Provider.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/gandiv5/gandi_v5Provider.go b/providers/gandiv5/gandi_v5Provider.go index 8baa5a96a4..4220e6f5cb 100644 --- a/providers/gandiv5/gandi_v5Provider.go +++ b/providers/gandiv5/gandi_v5Provider.go @@ -244,7 +244,7 @@ func (client *gandiv5Provider) GetZoneRecordsCorrections(dc *models.DomainConfig F: func() error { res, err := g.CreateDomainRecord(domain, shortname, rtype, ttl, values) if err != nil { - return fmt.Errorf("%+v: %w", res, err) + return fmt.Errorf("%+v ret=%03d: %w", res, res.Code, err) } return nil }, @@ -263,7 +263,7 @@ func (client *gandiv5Provider) GetZoneRecordsCorrections(dc *models.DomainConfig F: func() error { res, err := g.UpdateDomainRecordsByName(domain, shortname, ns) if err != nil { - return fmt.Errorf("%+v: %w", res, err) + return fmt.Errorf("%+v ret=%03d: %w", res, res.Code, err) } return nil },