diff options
Diffstat (limited to 'troveclient/client.py')
-rw-r--r-- | troveclient/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/troveclient/client.py b/troveclient/client.py index 95dbfbf..74192e9 100644 --- a/troveclient/client.py +++ b/troveclient/client.py @@ -197,7 +197,7 @@ class HTTPClient(object): # Catch a connection refused from requests.request self._logger.debug("Connection refused: %s" % e) msg = 'Unable to establish connection: %s' % e - raise exceptions.ConnectionError(msg) + raise exceptions.ConnectionRefused(msg) self._logger.debug( "Failed attempt(%s of %s), retrying in %s seconds" % (attempts, self.retries, backoff)) |