mirror of
https://git.uupdump.net/uup-dump/api.git
synced 2025-10-02 10:40:47 +00:00
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);
|
||||
|
Reference in New Issue
Block a user