diff options
author | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-08-27 14:36:46 +0530 |
---|---|---|
committer | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-08-27 14:36:58 +0530 |
commit | ad900ad3988b25db5db9e5edaedab17747b3a185 (patch) | |
tree | 9b2f4a31c8b4a83417b2c6b1d88e06529feefaff | |
parent | c7684e595461b70b09d0d9ff15b5ad23aeabebc9 (diff) |
added fix for error log reported in sonar
Added fix for error logging reported in sonar
Issue-ID: PORTAL-383
Change-Id: I1a73508da1c2d028ce9e8933def60c02b62482ff
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/service/sessionmgt/ManageService.java | 2 |
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); |