Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception handling for db.insert in bulkInsert. #39

Open
wants to merge 1 commit into
base: student
Choose a base branch
from

Conversation

rsd-raul
Copy link

@rsd-raul rsd-raul commented Mar 2, 2017

If we throw an Exception when the date is not normalized I think we should handle the case where db.insert fails with the same severity.

Currently it would mark the transaction as complete, meaning that if some items fails to be inserted, and are then read from the database, our recycler view will show the stored items and our user will see we are missing data.

If we throw an Exception when the date is not normalized I think we should handle the case where db.insert fails with the same severity.

Currently it would mark the transaction as complete, meaning that if some items fails to be inserted, and are then read from the database, our recycler view will show the stored items and our user will see we are missing data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant