Create proper error string for returning
This commit is contained in:
parent
a213313062
commit
ac867de609
4
get.php
4
get.php
@ -218,8 +218,8 @@ function uupGetFiles(
|
|||||||
consoleLogger('Parsing information...');
|
consoleLogger('Parsing information...');
|
||||||
$xmlOut = @simplexml_load_string($out);
|
$xmlOut = @simplexml_load_string($out);
|
||||||
if($xmlOut === false) {
|
if($xmlOut === false) {
|
||||||
unlink('cache/'.$cacheHash.'.json.gz');
|
@unlink('cache/'.$cacheHash.'.json.gz');
|
||||||
return array('error' => 'ERROR');
|
return array('error' => 'XML_PARSE_ERROR');
|
||||||
}
|
}
|
||||||
|
|
||||||
$xmlBody = $xmlOut->children('s', true)->Body->children();
|
$xmlBody = $xmlOut->children('s', true)->Body->children();
|
||||||
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function uupApiVersion() {
|
function uupApiVersion() {
|
||||||
return '1.16.1';
|
return '1.16.2';
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once dirname(__FILE__).'/auths.php';
|
require_once dirname(__FILE__).'/auths.php';
|
||||||
|
Loading…
Reference in New Issue
Block a user