Add logging when Swift deletion fails

This commit is contained in:
Joseph Schorr 2016-08-03 12:16:06 -04:00
parent de58c1e38b
commit 0b47fce1cb

View file

@ -201,6 +201,7 @@ class SwiftStorage(BaseStorage):
try:
self._get_connection().delete_object(self._swift_container, path)
except Exception:
logger.exception('Could not delete path %s', path)
raise IOError('Cannot delete path: %s' % path)
def _random_checksum(self, count):