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);