diff --git a/amazon_paapi/errors/exceptions.py b/amazon_paapi/errors/exceptions.py index dd3ef8f..544d0bb 100644 --- a/amazon_paapi/errors/exceptions.py +++ b/amazon_paapi/errors/exceptions.py @@ -33,7 +33,7 @@ class ItemsNotFoudException(AmazonException): pass class TooManyRequestsException(AmazonException): - """Raised if too many requests are made""" + """Raised when requests limit is reached""" pass class InvalidPartnerTagException(AmazonException): @@ -41,5 +41,5 @@ class InvalidPartnerTagException(AmazonException): pass class AssociateValidationException(AmazonException): - """Raised when credentials are not valid for the selected country.""" + """Raised when credentials are not valid for the selected country""" pass diff --git a/amazon_paapi/tools/asin.py b/amazon_paapi/tools/asin.py index fafc680..436aafc 100644 --- a/amazon_paapi/tools/asin.py +++ b/amazon_paapi/tools/asin.py @@ -15,4 +15,4 @@ def get_asin(text: str) -> str: if asin: return asin.group(2) else: - raise AsinNotFoundException('Asin not found found') + raise AsinNotFoundException('Asin not found: ' + text) diff --git a/setup.py b/setup.py index 7b15f8e..bb7b9e3 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name='python-amazon-paapi', - version='4.1.0', + version='4.1.1', author='Sergio Abad', author_email='sergio.abad@bytelix.com', description='Amazon Product Advertising API 5.0 wrapper for Python',