throw exception on error saving data. Save the errors in debug