Print proper error message on check failures