add the ability to capture analysis failures