mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
HEXONET: Fix error format string (#1462)
Fixes https://github.com/StackExchange/dnscontrol/issues/1461
This commit is contained in:
@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user