Cancel failed multipart uploads
This commit is contained in:
parent
844e773ec4
commit
9aedfc8d2c
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ class _CloudStorage(BaseStorage):
|
||||||
num_part += 1
|
num_part += 1
|
||||||
io.close()
|
io.close()
|
||||||
except IOError:
|
except IOError:
|
||||||
|
mp.cancel_upload()
|
||||||
break
|
break
|
||||||
mp.complete_upload()
|
mp.complete_upload()
|
||||||
|
|
||||||
|
|
Reference in a new issue