Return error on failed persist
Merge pull request #15 from wjdix/master

Errors from persist