mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
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