From 77e97c8a04d84f3d801e62e389103ec5818259bf Mon Sep 17 00:00:00 2001 From: mkuba50 Date: Sat, 30 Sep 2017 16:42:48 +0200 Subject: [PATCH] More meaningful error code in fetchupd.php --- fetchupd.php | 2 +- shared/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fetchupd.php b/fetchupd.php index 75d6786..2763259 100644 --- a/fetchupd.php +++ b/fetchupd.php @@ -62,7 +62,7 @@ function uupFetchUpd($arch = 'amd64', $ring = 'WIF', $flight = 'Active', $build preg_match('/.*<\/Files>/', $out, $fileList); if(empty($fileList[0])) { consoleLogger('An error has occured'); - return array('error' => 'ERROR'); + return array('error' => 'EMPTY_FILELIST'); } preg_match('/.*?/', $out, $out2); diff --git a/shared/main.php b/shared/main.php index 4b0e5de..ba5457e 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '0.5.0-beta'; + return '0.5.1-beta'; } function uupApiPrintBrand() {