jabbink / PokemonGoBot

DEFUNCT - Bot that plays Pokemon Go
https://www.pogobot.club/
GNU General Public License v3.0
559 stars 232 forks source link

[REST API] Added HTTP status codes for bad auth/requests #1264

Closed Sieberkev closed 8 years ago

Sieberkev commented 8 years ago

Fixed issue: https://github.com/jabbink/PokemonGoBot/issues/1139#issuecomment-241186713

Changes made:

Sieberkev commented 8 years ago

Pinging @JoeyyT to see if this has any negative consequences on your GUI (it shouldn't, with the codes it should be even be better to catch errors any errors (when the statuscode is not 200)).

FrancYescO commented 8 years ago

nothing will change for TTL55, rather will be better, cause it's already in the js to show a failed message if not a 200 response received.