Added Exception handling to Health Check