mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Merge pull request #219 from jaredevantabor/third-party-errors
Remove that pesky error message
This commit is contained in:
commit
c7d81fdba4
@ -13,10 +13,9 @@
|
||||
*/
|
||||
|
||||
export default
|
||||
['$http', 'ProcessErrors', 'i18n', function($http, ProcessErrors, i18n) {
|
||||
['$http', '$log', 'i18n', function($http, $log, i18n) {
|
||||
return function (params) {
|
||||
var scope = params.scope,
|
||||
url = params.url;
|
||||
var url = params.url;
|
||||
|
||||
return $http({
|
||||
method: 'GET',
|
||||
@ -116,8 +115,7 @@
|
||||
return {"options": options, "error": error};
|
||||
})
|
||||
.catch(function (data) {
|
||||
ProcessErrors(scope, data.data, data.status, null, { hdr: i18n._('Error!'),
|
||||
msg: i18n._('Failed to get third-party login types. Returned status: ') + data.status });
|
||||
$log.error('Failed to get third-party login types. Returned status: ' + data.status );
|
||||
});
|
||||
};
|
||||
}];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user