propagate multipart upload exception when aborting upload

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-10-17 15:10:58 +02:00
parent 7aaf12b37d
commit 74b43f1d7d
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ trait S3ObjectTrait {
]);
} else {
$this->getConnection()->abortMultipartUpload($e->getState()->getId());
throw $e;
}
}
} while (!isset($result) && $tries < 5);