commit | b9bb7f60815cd1e07b81d72b34ea1dcb4fa8d8c9 | [log] [tgz] |
---|---|---|
author | Steve Smokowski <ss835w@att.com> | Fri May 10 12:02:27 2019 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Fri May 10 12:02:27 2019 +0000 |
tree | 8a4969905792fcfd15f3069af2812b125f0f1623 | |
parent | 499730cede8f283147e5a0cd37fca9822221b1e1 [diff] | |
parent | 8235ea6f97340128d9a01b295c0a9e8127fe2a21 [diff] |
Merge "use logger to log exception"
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java index 388302f..edf8ff3 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java
@@ -1898,7 +1898,8 @@ logger.debug("vfcResource request for resource customization id (" + resourceCustomizationUuid + ") : " + jsonStr); } catch (JsonProcessingException e) { - e.printStackTrace(); + logger.debug("Json Exception: {}", e.getMessage()); + logger.error("Exception occurred", e); } return jsonStr;