Remimstr / COVID-19-globeview

3 stars 1 forks source link

Add proper error handling for github 403s and situations where the app won't load #4

Open Remimstr opened 4 years ago

Remimstr commented 4 years ago

We desperately need error handling on this code that was quickly pieced together. I would like users to see a proper message if the app doesn't run on their system instead of a blank screen. Additionally, I would like to add a custom error message for the (frequent) scenario in which github returns 403.

Parameter validation and exception catching (in case DOM elements aren't found - for example) would also be nice.