mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03: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){
|
||||
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); }
|
||||
|
||||
Reference in New Issue
Block a user