catch exceptions in health callbacks