From a61306580abeda48abbdac4d98c4ae2b058216a6 Mon Sep 17 00:00:00 2001 From: mabashian Date: Mon, 30 Sep 2019 12:09:24 -0400 Subject: [PATCH] Show error body when license application fails --- awx/ui/client/src/license/license.controller.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/awx/ui/client/src/license/license.controller.js b/awx/ui/client/src/license/license.controller.js index c0f9012edf..c085076fc7 100644 --- a/awx/ui/client/src/license/license.controller.js +++ b/awx/ui/client/src/license/license.controller.js @@ -229,9 +229,8 @@ export default }, 4000); } }); - }).catch(({data, status}) => { - Wait('stop'); - ProcessErrors($scope, data, status, null, { + }).catch((err) => { + ProcessErrors($scope, err, null, null, { hdr: i18n._('Error Applying License') }); });