print the error message too