Bugfix: Return error on PutRecord
Merge pull request #211 from fantyz/master

Bugfix: Return error on PutRecord