Fixed options.failOnError
Merge pull request #13 from glan/failOnError

Fixed options.failOnError