mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 14:09:28 -02:30
catch undefined basePath config #1626
This commit is contained in:
@@ -99,7 +99,7 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch(err){
|
catch(err){
|
||||||
if (basePath === ''){
|
if (!basePath){
|
||||||
$log.error('Cannot retrieve OPTIONS because the basePath parameter is not set on the list with the following fieldset: \n', list);
|
$log.error('Cannot retrieve OPTIONS because the basePath parameter is not set on the list with the following fieldset: \n', list);
|
||||||
}
|
}
|
||||||
else { $log.error(err); }
|
else { $log.error(err); }
|
||||||
|
|||||||
Reference in New Issue
Block a user