Merge "Correct reraising of exception"

This commit is contained in:
Jenkins 2016-07-12 01:21:36 +00:00 committed by Gerrit Code Review
commit 8ba3bf9cde
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class IndexingHelper(object):
err_msg = []
for err in e.errors:
if "VersionConflict" not in err['index']['error']:
raise e
raise
err_msg.append("id %(_id)s: %(error)s" % err['index'])
LOG.warning(_LW('Version conflict %s') % ';'.join(err_msg))
result = 0