diff options
author | amshegokar <AS00500801@techmahindra.com> | 2017-10-16 13:02:40 +0530 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-10-16 18:25:41 +0000 |
commit | 9df68e136e8be86f50115f7cf3e6a481561612e0 (patch) | |
tree | 9c980bd7986aff31f47aae4c79db2ac8a696ec17 /appc-dg-util/appc-dg-util-bundle/src/main | |
parent | 711778b2b2c543c1bd778087a89bab63e69eeadb (diff) |
Sonar Blocker Use a logger
Use a logger to log this exception
Sonar Link:https://sonar.onap.org/component_issues/index?id=org.openecomp.appc%3Aappc#resolved=false|severities=CRITICAL|assignees=amshegokar
Change-Id: Idb5f7ad9fcc5cf8be7361ffddcc9dbf97d6a0d65
Issue-ID: APPC-278
Signed-off-by: amshegokar <AS00500801@techmahindra.com>
Diffstat (limited to 'appc-dg-util/appc-dg-util-bundle/src/main')
-rw-r--r-- | appc-dg-util/appc-dg-util-bundle/src/main/java/org/openecomp/appc/dg/util/impl/ExecuteNodeActionImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-dg-util/appc-dg-util-bundle/src/main/java/org/openecomp/appc/dg/util/impl/ExecuteNodeActionImpl.java b/appc-dg-util/appc-dg-util-bundle/src/main/java/org/openecomp/appc/dg/util/impl/ExecuteNodeActionImpl.java index faf9df220..d80a80e44 100644 --- a/appc-dg-util/appc-dg-util-bundle/src/main/java/org/openecomp/appc/dg/util/impl/ExecuteNodeActionImpl.java +++ b/appc-dg-util/appc-dg-util-bundle/src/main/java/org/openecomp/appc/dg/util/impl/ExecuteNodeActionImpl.java @@ -89,7 +89,7 @@ public class ExecuteNodeActionImpl implements ExecuteNodeAction { Thread.sleep(Long.parseLong(waitTime)); logger.info("DG waits for " + Long.parseLong(waitTime) + " milliseconds completed"); } catch (InterruptedException e) { - e.printStackTrace(); + logger.error("Error In ExecuteNodeActionImpl for waitMethod() due to InterruptedException: reason = " + e.getMessage()); } } |