mirror of
https://github.com/chevereto/chevereto.git
synced 2026-05-07 16:37:18 +02:00
Automatic push 4.1.1
This commit is contained in:
@@ -16,3 +16,4 @@ Chevereto 4.1.1 (2024-04-27)
|
||||
- 🐞 Fixed bug with not working URL upload
|
||||
- 🐞 Fixed bug with video upload not working on iOS
|
||||
- 🐞 Fixed bug with file-upload documentation link
|
||||
- 🇨🇱 Updated Spanish translation
|
||||
@@ -352,12 +352,13 @@ function downloadAction(string $workingDir, array $params): Response
|
||||
$zipBall = str_replace('%tag%', $tag, $zipBall);
|
||||
$isPost = true;
|
||||
$curl = downloadFile($zipBall, $params, $filePath, $isPost);
|
||||
|
||||
throw new RuntimeException(
|
||||
$curl->json->error->message
|
||||
. sprintf(' [%s]', $curl->json->error->code),
|
||||
$curl->json->status_code
|
||||
);
|
||||
if (isset($curl->json->error)) {
|
||||
throw new RuntimeException(
|
||||
$curl->json->error->message
|
||||
. sprintf(' [%s]', $curl->json->error->code),
|
||||
$curl->json->status_code
|
||||
);
|
||||
}
|
||||
if ($curl->transfer['http_code'] !== 200) {
|
||||
$error = '[HTTP ' . $curl->transfer['http_code'] . '] ' . $zipBall;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user