catch persists errors in entity persist
Merge pull request #31 from tkamo-kodify/master

catch persists errors in entity persist