Add logging when Swift deletion fails
This commit is contained in:
parent
de58c1e38b
commit
0b47fce1cb
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Reference in a new issue