mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Merge pull request #394 from marshmalien/fix/7579-test-error-handling
Increase verbosity of CTiT Logging test error handling
This commit is contained in:
@@ -224,7 +224,10 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
|||||||
if (Array.isArray(data[keys[0]])) {
|
if (Array.isArray(data[keys[0]])) {
|
||||||
msg = data[keys[0]][0];
|
msg = data[keys[0]][0];
|
||||||
} else {
|
} else {
|
||||||
msg = data[keys[0]];
|
msg = "";
|
||||||
|
_.forOwn(data, function(value, key) {
|
||||||
|
msg += `${key} : ${value} `;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
Alert(defaultMsg.hdr, msg);
|
Alert(defaultMsg.hdr, msg);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user