RioBus / android-app

RioBus mobile app written with Java
http://riob.us
GNU General Public License v2.0
19 stars 20 forks source link

Searching for text raises dark snackbar saying "It was not possible to connect to server" and 404 Toast #69

Open fmsouza opened 8 years ago

fmsouza commented 8 years ago

screenshot_20160323-014142

georgerappel commented 8 years ago

I think this happened because of the server tests. The server could respond and sent an error. Possibly, te best we can do is change every error message for something like "Server error. Try again later".

fmsouza commented 8 years ago

The problem is there are no data to respond for this query, so the server returns 404 and an empty array [] as response. In that case, the answer should be something like "Your query didn't brought up any results."