improve error handling and messaging

will no longer report as passing when it's not able to check the
thresholds.