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

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