Merge pull request #424 from mjibson/cancel-mp
Cancel failed multipart uploads
This commit is contained in:
commit
92fb753dee
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ class _CloudStorage(BaseStorage):
|
|||
num_part += 1
|
||||
io.close()
|
||||
except IOError:
|
||||
mp.cancel_upload()
|
||||
break
|
||||
mp.complete_upload()
|
||||
|
||||
|
|
Reference in a new issue