print errors message when parsing fails