Merge pull request #6854 from nextcloud/s3-multipart-propagate-exception
propagate multipart upload exception when aborting upload
This commit is contained in:
commit
cd0d27e46d
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ trait S3ObjectTrait {
|
|||
]);
|
||||
} else {
|
||||
$this->getConnection()->abortMultipartUpload($e->getState()->getId());
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
} while (!isset($result) && $tries < 5);
|
||||
|
|
Loading…
Reference in a new issue