--
This commit is contained in:
parent
37f4b69948
commit
51510cd655
@ -252,7 +252,7 @@ func (a *Amo) GetListTags(req models.GetListTagsReq, accessToken string, domain
|
|||||||
return nil, fmt.Errorf("request GetListTags failed: %v", errs[0])
|
return nil, fmt.Errorf("request GetListTags failed: %v", errs[0])
|
||||||
}
|
}
|
||||||
|
|
||||||
a.logger.Info("Succesfull get tags:", zap.String("respBody", respBody), zap.String("fullUrl", fullURL))
|
a.logger.Info("Succesfull get tags:", zap.String("respBody", string(resBody)), zap.String("fullUrl", fullURL))
|
||||||
|
|
||||||
if statusCode != fiber.StatusOK {
|
if statusCode != fiber.StatusOK {
|
||||||
errorMessage := fmt.Sprintf("received an incorrect response from GetListTags(%s): %s", fullURL, string(resBody))
|
errorMessage := fmt.Sprintf("received an incorrect response from GetListTags(%s): %s", fullURL, string(resBody))
|
||||||
|
Loading…
Reference in New Issue
Block a user