Merge pull request #6855 from nextcloud/s3-multipart-propagate-exception-12

[12] propagate multipart upload exception when aborting upload
This commit is contained in:
Roeland Jago Douma 2017-10-17 20:42:30 +02:00 committed by GitHub
commit 4419aee908
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);