summaryrefslogtreecommitdiffstats
path: root/common-app-logging/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-logging/src/main')
-rw-r--r--common-app-logging/src/main/java/org/openecomp/sdc/common/log/wrappers/Logger.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-app-logging/src/main/java/org/openecomp/sdc/common/log/wrappers/Logger.java b/common-app-logging/src/main/java/org/openecomp/sdc/common/log/wrappers/Logger.java
index 8f733b4f5e..284104cd57 100644
--- a/common-app-logging/src/main/java/org/openecomp/sdc/common/log/wrappers/Logger.java
+++ b/common-app-logging/src/main/java/org/openecomp/sdc/common/log/wrappers/Logger.java
@@ -132,7 +132,7 @@ public class Logger implements org.slf4j.Logger {
metric.startTimer()
.stopTimer();
} catch (Exception e) {
- e.printStackTrace();
+ error(e.getMessage(), e);
}
metric.log(ONAPLogConstants.Markers.INVOKE_RETURN, LogLevel.INFO, msg, params);
}