rbavishi / Habitican-Curse

A Terminal application for HabitRPG using the python curses library
MIT License
31 stars 2 forks source link

Fail Gracefully on unhandled HTTP Response Codes from the API #20

Closed jasonuher closed 3 years ago

jasonuher commented 7 years ago

Reported in #18 , sometimes the API responds with HTTP codes that we don't support - this should be logged/warned and should fail gracefully rather than via an uncaught exception.