From 74b43f1d7d903ef7c2fb8191e795b9348af75efd Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 17 Oct 2017 15:10:58 +0200 Subject: [PATCH] propagate multipart upload exception when aborting upload Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/S3ObjectTrait.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php index 2cbe20d980..6fb12265cb 100644 --- a/lib/private/Files/ObjectStore/S3ObjectTrait.php +++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php @@ -105,6 +105,7 @@ trait S3ObjectTrait { ]); } else { $this->getConnection()->abortMultipartUpload($e->getState()->getId()); + throw $e; } } } while (!isset($result) && $tries < 5);