summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2018-09-12 16:30:32 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-12 16:30:32 +0000
commitc7810657f088814052a8ed90fd0c4e08dd14a211 (patch)
tree714d002a8e0c6f8d88164ca68e758cef218c6cfb /ecomp-portal-BE-common
parent9d6c52ce215710a86f73fc5ea2ea4b95aa44d020 (diff)
parentad900ad3988b25db5db9e5edaedab17747b3a185 (diff)
Merge "added fix for error log reported in sonar"
Diffstat (limited to 'ecomp-portal-BE-common')
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java
index 0b219586..8dfa56db 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java
@@ -81,7 +81,7 @@ public class ManageService implements PortalTimeoutHandler.SessionCommInf {
cal = new CronExpression(cronExpressionStr);
} catch (ParseException e) {
// TODO Auto-generated catch block
- e.printStackTrace();
+ logger.error(EELFLoggerDelegate.errorLogger, "fetchSessionSlotCheckInterval failed.", e);
}
final Date nowTime = Calendar.getInstance().getTime();
Date nextTime = cal.getNextValidTimeAfter(nowTime);