Add continueOnError option
Merge pull request #30 from JSteunou/issue-29

Fix issue 29: add continueOnError option