Merge pull request #1676 from coreos-inc/swift-delete-logs

Add logging when Swift deletion fails
This commit is contained in:
josephschorr 2016-08-03 13:38:16 -04:00 committed by GitHub
commit 4e9800dfc2

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):