kevinsullivan / moralpain_dev

VSCode + Docker container development environment for moral distress project
0 stars 9 forks source link

Better error handling #122

Open nicholasphair opened 2 years ago

nicholasphair commented 2 years ago

If there are any sort of network problems we should handle them gracefully.

Recently, we say a bad server side response result in a crashed page. That stemmed from the failed null check here throwing an exception that was not properly handled. https://github.com/kevinsullivan/moralpain_dev/blob/main/moraldistress/lib/survey/view/survey_view.dart#L204

We should find instances like this and plan for errors.