Return error on failed persist