diff options
author | Steve Smokowski <ss835w@att.com> | 2019-05-10 12:02:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-10 12:02:27 +0000 |
commit | b9bb7f60815cd1e07b81d72b34ea1dcb4fa8d8c9 (patch) | |
tree | 8a4969905792fcfd15f3069af2812b125f0f1623 | |
parent | 499730cede8f283147e5a0cd37fca9822221b1e1 (diff) | |
parent | 8235ea6f97340128d9a01b295c0a9e8127fe2a21 (diff) |
Merge "use logger to log exception"
-rw-r--r-- | asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java | 3 |
1 files changed, 2 insertions, 1 deletions
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 388302f46e..edf8ff338c 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 @@ public class ToscaResourceInstaller { 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; |