summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>2018-08-14 17:23:02 +0530
committerShubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>2018-08-14 17:23:02 +0530
commitf7c3299cd3993290c47864d10d461c52a2ebe0c2 (patch)
treec4a752900bd47efe509fd16fe4fa63ad7ea7d0a5
parent8d5039c674ef6fd0e4f2ebef9edfac27f0c18900 (diff)
Sonar Critical
Either log or rethrow this exception. Change-Id: I622086227ea912a5c19cfd5daa84463d9354876c Issue-ID: PORTAL-360 Signed-off-by: Shubhada Ramkrishna Vaze <SV00449682@TechMahindra.com>
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/UserRolesCommonServiceImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/UserRolesCommonServiceImpl.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/UserRolesCommonServiceImpl.java
index e3ce07ff..2eb7c948 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/UserRolesCommonServiceImpl.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/UserRolesCommonServiceImpl.java
@@ -887,7 +887,8 @@ public class UserRolesCommonServiceImpl {
addRemoteUser(roleInAppForUserList, userId, app, mapper, searchService,
applicationsRestClientService);
} catch (Exception e) {
- logger.debug(EELFLoggerDelegate.debugLogger, e.getMessage());
+ String message=e.getMessage();
+ logger.error(EELFLoggerDelegate.errorLogger, message, e);
}
}