Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Add robust error handling to data load #61

Open
flibbertigibbet opened this issue May 16, 2018 · 0 comments
Open

Add robust error handling to data load #61

flibbertigibbet opened this issue May 16, 2018 · 0 comments

Comments

@flibbertigibbet
Copy link
Contributor

Protect against app crash when loading data from the server. Currently, the app crashes when encountering an unpublished destination associated with an event with a foreign key error.

See: azavea/cac-tripplanner#1044

If this or some similar data or parsing issue is encountered, catch and log the error, skip the record, and proceed to process the rest. Consider showing the user a Toast message or other feedback if the entire fetch or parse failed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants