--
This commit is contained in:
parent
ab5a751786
commit
437b74d748
@ -253,7 +253,7 @@ func (a *Amo) GetListTags(req models.GetListTagsReq, accessToken string, domain
|
|||||||
}
|
}
|
||||||
|
|
||||||
if statusCode != fiber.StatusOK {
|
if statusCode != fiber.StatusOK {
|
||||||
errorMessage := fmt.Sprintf("received an incorrect response from GetListTags: %s", string(resBody))
|
errorMessage := fmt.Sprintf("received an incorrect response from GetListTags(%s): %s", fullURL, string(resBody))
|
||||||
a.logger.Error(errorMessage, zap.Int("status", statusCode))
|
a.logger.Error(errorMessage, zap.Int("status", statusCode))
|
||||||
return nil, fmt.Errorf(errorMessage)
|
return nil, fmt.Errorf(errorMessage)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user