mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 09:48:51 -03:30
Fix Logging settings "Test" button functionality
This commit is contained in:
@@ -215,7 +215,7 @@ export default [
|
||||
});
|
||||
})
|
||||
.catch(({ data, status }) => {
|
||||
if (status === 500) {
|
||||
if (status === 400 || status == 500) {
|
||||
ngToast.danger({
|
||||
content: '<i class="fa fa-exclamation-triangle Toast-successIcon"></i>' +
|
||||
i18n._('Log aggregator test failed. <br> Detail: ') + $filter('sanitize')(data.error),
|
||||
|
||||
Reference in New Issue
Block a user