Georg Henzler created SLING-4416:
------------------------------------
Summary: Improve HC Message/Status if a HC implementation throws
an exception
Key: SLING-4416
URL: https://issues.apache.org/jira/browse/SLING-4416
Project: Sling
Issue Type: Improvement
Components: Health Check
Affects Versions: Health Check Core 1.1.2
Reporter: Georg Henzler
At the moment, if a HC throws an exception, both status and and message are not
ideal:
{code}
CRITICAL Exception during execution of
org.apache.sling.hc.core.impl.executor.HealthCheckFuture$1@688ec41b:
java.lang.NullPointerException
{code}
The attached patch changes the behaviour to the following:
{code}
HEALTH_CHECK_ERROR Exception during execution of 'My HC Name':
java.lang.NullPointerException
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)