More meaningful error code in fetchupd.php
This commit is contained in:
		| @@ -62,7 +62,7 @@ function uupFetchUpd($arch = 'amd64', $ring = 'WIF', $flight = 'Active', $build | ||||
|     preg_match('/<Files>.*<\/Files>/', $out, $fileList); | ||||
|     if(empty($fileList[0])) { | ||||
|         consoleLogger('An error has occured'); | ||||
|         return array('error' => 'ERROR'); | ||||
|         return array('error' => 'EMPTY_FILELIST'); | ||||
|     } | ||||
|  | ||||
|     preg_match('/<FlightMetadata>.*?<Relationships>/', $out, $out2); | ||||
|   | ||||
| @@ -16,7 +16,7 @@ limitations under the License. | ||||
| */ | ||||
|  | ||||
| function uupApiVersion() { | ||||
|     return '0.5.0-beta'; | ||||
|     return '0.5.1-beta'; | ||||
| } | ||||
|  | ||||
| function uupApiPrintBrand() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user