fixed sonar critical issue 95/61295/1
authorAmaresh Kumar <kamaresh@in.ibm.com>
Mon, 20 Aug 2018 12:33:44 +0000 (18:03 +0530)
committerAmaresh Kumar <kamaresh@in.ibm.com>
Mon, 20 Aug 2018 12:34:01 +0000 (18:04 +0530)
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>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/scheduler/SchedulerRestInterface.java

index 825d33a..1886b8b 100644 (file)
@@ -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");