summaryrefslogtreecommitdiff
path: root/swiftclient
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient')
-rw-r--r--swiftclient/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftclient/service.py b/swiftclient/service.py
index cd96a5b..8e2c7b0 100644
--- a/swiftclient/service.py
+++ b/swiftclient/service.py
@@ -1036,8 +1036,8 @@ class SwiftService(object):
version_marker = items[-1].get('version_id', '')
except ClientException as err:
traceback, err_time = report_traceback()
- logger.exception(err)
if err.http_status != 404:
+ logger.exception(err)
error = (err, traceback, err_time)
else:
error = (