Fixed health check issue 31/118931/1 master
authorjz385p <jegadeesh.babu@att.com>
Tue, 9 Mar 2021 06:39:15 +0000 (12:09 +0530)
committerjz385p <jegadeesh.babu@att.com>
Tue, 9 Mar 2021 06:41:30 +0000 (12:11 +0530)
Fixed health check issue

Issue-ID: PORTAL-1062
Change-Id: If4cf45d9b7bce9094fdc053b3af5f02a60ae1c49
Signed-off-by: jz385p <jegadeesh.babu@att.com>
ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/listener/HealthMonitor.java

index 31a323e..2d18d75 100644 (file)
@@ -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;