segdeha / ineedtobuy.xyz

Your smart shopping list.
https://ineedtobuy.xyz
0 stars 0 forks source link

Recover more gracefully from server errors #6

Closed segdeha closed 8 years ago

segdeha commented 8 years ago

Some API calls can leave the app in an unusable state if they return with, e.g., a 401. All failed API calls should return the user to the list view and show an alert instead of just hanging on the dimmer overlay.

segdeha commented 8 years ago

401s, in particular, should redirect the user to the login screen.

segdeha commented 8 years ago

401s now redirect user to login screen. Imma close this issue because the primary other server error is when a barcode results in no match. That should be handled in issue #4.