From 97ede1a34fffb96a4708d1195e648995d4843897 Mon Sep 17 00:00:00 2001 From: jz385p Date: Tue, 9 Mar 2021 12:09:15 +0530 Subject: Fixed health check issue Fixed health check issue Issue-ID: PORTAL-1062 Change-Id: If4cf45d9b7bce9094fdc053b3af5f02a60ae1c49 Signed-off-by: jz385p --- .../main/java/org/onap/portalapp/portal/listener/HealthMonitor.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ecomp-portal-BE-common/src/main/java') diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java index 31a323e4..2d18d751 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java @@ -295,6 +295,9 @@ public class HealthMonitor { } catch (MusicServiceException e) { logger.error(EELFLoggerDelegate.errorLogger, e.getErrorMessage(), e); return Boolean.FALSE; + } catch (Exception ex) { + logger.error(EELFLoggerDelegate.errorLogger, ex.getMessage(), ex); + return Boolean.FALSE; } return Boolean.TRUE; -- cgit 1.2.3-korg