Catch and handle errors in prepareUploadPart

This commit is contained in:
Maciek Pekala 2018-07-17 23:33:29 +02:00
parent e0a5aa0ee9
commit 1102ebd43c
No known key found for this signature in database
GPG key ID: C02DA0EC7557EA6B

View file

@ -150,6 +150,8 @@ class MultipartUploader {
return result
}).then(({ url }) => {
this._uploadPartBytes(index, url)
}, (err) => {
this._onError(err)
})
}