commit | c7810657f088814052a8ed90fd0c4e08dd14a211 | [log] [tgz] |
---|---|---|
author | Manoop Talasila <talasila@research.att.com> | Wed Sep 12 16:30:32 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Wed Sep 12 16:30:32 2018 +0000 |
tree | 714d002a8e0c6f8d88164ca68e758cef218c6cfb | |
parent | 9d6c52ce215710a86f73fc5ea2ea4b95aa44d020 [diff] | |
parent | ad900ad3988b25db5db9e5edaedab17747b3a185 [diff] |
Merge "added fix for error log reported in sonar"
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 0b21958..8dfa56d 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 @@ 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);