This commit is contained in:
skeris 2024-11-04 15:33:13 +03:00
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)
} }