Skip to content
Snippets Groups Projects
Commit 5071a485 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Pass in kwargs into AWSClientException

parent c4735d9c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -21,7 +21,7 @@ DESC = 'A low-level Amazon Web Services API client for Tornado'
TESTS_REQUIRE = ['nose', 'mock', 'coverage']
 
setuptools.setup(name='tornado-aws',
version='0.4.0',
version='0.4.1',
description=DESC,
long_description=open('README.rst').read(),
author='Gavin M. Roy',
Loading
Loading
Loading
Loading
@@ -6,6 +6,6 @@ from tornado_aws.client import AWSClient
from tornado_aws.client import AsyncAWSClient
from tornado_aws.client import exceptions
 
__version__ = '0.4.0'
__version__ = '0.4.1'
 
__all__ = ['AWSClient', 'AsyncAWSClient', 'exceptions']
Loading
Loading
@@ -15,7 +15,8 @@ class AWSClientException(Exception):
fmt = 'An error occurred'
 
def __init__(self, **kwargs):
super(AWSClientException, self).__init__(self.fmt.format(**kwargs))
super(AWSClientException, self).__init__(self.fmt.format(**kwargs),
kwargs)
 
 
class AWSError(AWSClientException):
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment