mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
catch undefined basePath config #1626
This commit is contained in:
parent
dd0340f909
commit
08f9782290
@ -99,7 +99,7 @@ export default ['Rest', '$q', 'GetBasePath', 'Wait', 'ProcessErrors', '$log', fu
|
||||
});
|
||||
}
|
||||
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);
|
||||
}
|
||||
else { $log.error(err); }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user