summaryrefslogtreecommitdiff
path: root/glanceclient/common/http.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-01-22 15:59:56 +0000
committerGerrit Code Review <review@openstack.org>2014-01-22 15:59:56 +0000
commitf9c7e3d1cdac81b63a7ced98f2dbe0034b456ed0 (patch)
tree89c1a715b05982d2c5e5126c0da0e62873f54875 /glanceclient/common/http.py
parentb6468e0a016a85fadbf6fc763904459303f45e16 (diff)
parent8e146ca5008b97f3cbdd09ee1171dfe58f40998e (diff)
downloadpython-glanceclient-f9c7e3d1cdac81b63a7ced98f2dbe0034b456ed0.tar.gz
Merge "server 500 should not be a client error"
Diffstat (limited to 'glanceclient/common/http.py')
-rw-r--r--glanceclient/common/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/common/http.py b/glanceclient/common/http.py
index ad43ace..0fcd2fc 100644
--- a/glanceclient/common/http.py
+++ b/glanceclient/common/http.py
@@ -245,7 +245,7 @@ class HTTPClient(object):
self.log_http_response(resp)
if 400 <= resp.status < 600:
- LOG.error("Request returned failure status.")
+ LOG.debug("Request returned failure status: %d" % resp.status)
raise exc.from_response(resp, body_str)
elif resp.status in (301, 302, 305):
# Redirected. Reissue the request to the new location.