From 9329092c32cdc8b7d8347c758281c2a51632619c Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Wed, 6 Sep 2017 12:51:52 -0400 Subject: [PATCH] Increase verbosity of CTiT Logging test error handling --- awx/ui/client/src/shared/Utilities.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/shared/Utilities.js b/awx/ui/client/src/shared/Utilities.js index c1b43c73bf..349898079f 100644 --- a/awx/ui/client/src/shared/Utilities.js +++ b/awx/ui/client/src/shared/Utilities.js @@ -224,7 +224,10 @@ angular.module('Utilities', ['RestServices', 'Utilities']) if (Array.isArray(data[keys[0]])) { msg = data[keys[0]][0]; } else { - msg = data[keys[0]]; + msg = ""; + _.forOwn(data, function(value, key) { + msg += `${key} : ${value} `; + }); } Alert(defaultMsg.hdr, msg); } else {