mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-26 23:16:29 +08:00
GANDI_V5: Increase error verbosity (#3267)
This commit is contained in:
parent
876451b346
commit
76bbdc191a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue