better error message for status code checker