HEXONET: Fix error format string
Fixes
@@ -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())
}
