diff options
author | Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> | 2018-08-17 15:24:34 +0530 |
---|---|---|
committer | Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com> | 2018-08-17 15:24:34 +0530 |
commit | cab38eeef3ad2beb0f755ffdaa459c83ee23022f (patch) | |
tree | 362af93269753097678931b7a8088c96eb651e19 /ecomp-portal-BE-os/src | |
parent | b68ba6018be7b97bca32c76a76c92b5d896c8a5e (diff) |
Sonar Critical
Either log or rethrow this exception.
Change-Id: Icad977130e20d5a4d1fe972be73277b5d45d41b7
Issue-ID: PORTAL-363
Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
Diffstat (limited to 'ecomp-portal-BE-os/src')
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/interceptor/SessionTimeoutInterceptor.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/interceptor/SessionTimeoutInterceptor.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/interceptor/SessionTimeoutInterceptor.java index dd201edd..689b25f2 100644 --- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/interceptor/SessionTimeoutInterceptor.java +++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/interceptor/SessionTimeoutInterceptor.java @@ -92,6 +92,8 @@ public class SessionTimeoutInterceptor extends HandlerInterceptorAdapter { CollaborateList.addUserName(user.getOrgUserId()); } } catch (SessionExpiredException e) { + String message=e.getMessage(); + logger.error(EELFLoggerDelegate.errorLogger,message, e); response.sendRedirect(SystemProperties.getProperty(EPSystemProperties.LOGIN_URL_NO_RET_VAL)); return false; } catch (Exception e) { |