Merge "Don't log tracebacks when we know where they're going to end"

This commit is contained in:
Zuul 2018-02-28 17:26:21 +00:00 committed by Gerrit Code Review
commit e72b299307

View File

@ -147,8 +147,8 @@ class ObjectExpirer(Daemon):
cache_key = '%s/%s' % (target_account, target_container)
# sanity
except ValueError:
self.logger.exception('Unexcepted error handling task %r' %
delete_task)
self.logger.error('Unexcepted error handling task %r' %
delete_task)
continue
obj_cache[cache_key].append(delete_task)