ResistanceCalendar / resistance-calendar-frontend

A central listing of upcoming progressive events
https://resistance-calendar-staging.herokuapp.com/
MIT License
7 stars 8 forks source link

Better error message when zipcode is invalid #211

Open aaghevli opened 6 years ago

aaghevli commented 6 years ago

We have changed the RC API to throw an exception (HTTP Status 400) instead of silently ignoring a bad zipcode. This fixes a long standing bug and point of confusion for our users.

https://github.com/ResistanceCalendar/resistance-calendar-api/pull/126

The resulting front end could probably do better to handle the error message a bit better so the user knows what the specific error is here.

image