Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Health Check Core 1.1.2
-
None
-
Patch
Description
At the moment, if a HC throws an exception, both status and and message are not ideal:
CRITICAL Exception during execution of org.apache.sling.hc.core.impl.executor.HealthCheckFuture$1@688ec41b: java.lang.NullPointerException
The attached patch changes the behaviour to the following:
HEALTH_CHECK_ERROR Exception during execution of 'My HC Name': java.lang.NullPointerException