diff options
author | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-20 18:03:44 +0530 |
---|---|---|
committer | Amaresh Kumar <kamaresh@in.ibm.com> | 2018-08-20 18:04:01 +0530 |
commit | 8ffa809a2a74bf9a61e8af8dd97ce5e995b016eb (patch) | |
tree | 231252ea47df84b57bff03cc6706d3d34a6aec63 | |
parent | c7684e595461b70b09d0d9ff15b5ad23aeabebc9 (diff) |
fixed sonar critical issue
Sonar critical issue fix, either log or rethrow exception.
Issue-ID: PORTAL-364
Change-Id: Idd50876e7d3ad8eab277b1f68bfd765af3af8962
Signed-off-by: Amaresh Kumar <kamaresh@in.ibm.com>
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java index 825d33a2..1886b8b5 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java @@ -157,7 +157,7 @@ public class SchedulerRestInterface implements SchedulerRestInterfaceIfc { client = HttpsBasicClient.getClient(); } } catch (Exception e) { - logger.debug(EELFLoggerDelegate.debugLogger, "Unable to initialize rest client"); + logger.debug(EELFLoggerDelegate.debugLogger, "Unable to initialize rest client",e.getMessage()); } logger.debug(EELFLoggerDelegate.debugLogger, "Client Initialized"); |