Add continueOnError option