parser logs error to console