set task failonerror to true