mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-02-24 23:53:01 +08:00
HEXONET: Fix error format string (#1462)
Fixes https://github.com/StackExchange/dnscontrol/issues/1461
This commit is contained in:
parent
9c7b84eefd
commit
cc428ca9e1
1 changed files with 1 additions and 1 deletions
|
@ -8,5 +8,5 @@ import (
|
|||
|
||||
// GetHXApiError returns an error including API error code and error description.
|
||||
func (n *HXClient) GetHXApiError(format string, objectid string, r *response.Response) error {
|
||||
return fmt.Errorf(format+" %s. [%s %s]", objectid, r.GetCode(), r.GetDescription())
|
||||
return fmt.Errorf(format+" %q. [%v %s]", objectid, r.GetCode(), r.GetDescription())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue