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 e964f83f28
commit 91b3536f45
No known key found for this signature in database
GPG key ID: CBCA68FBAEBF98C9

View file

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