summaryrefslogtreecommitdiff
path: root/swift/obj
diff options
context:
space:
mode:
Diffstat (limited to 'swift/obj')
-rw-r--r--swift/obj/replicator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swift/obj/replicator.py b/swift/obj/replicator.py
index ccd033071..fc729c50c 100644
--- a/swift/obj/replicator.py
+++ b/swift/obj/replicator.py
@@ -592,8 +592,8 @@ class ObjectReplicator(Daemon):
self.logger.increment('partition.lock-failure.count')
except (Exception, Timeout):
self.logger.exception("Error syncing handoff partition")
- stats.add_failure_stats(failure_devs_info)
finally:
+ stats.add_failure_stats(failure_devs_info)
target_devs_info = set([(target_dev['replication_ip'],
target_dev['device'])
for target_dev in job['nodes']])