flowdock / oulu

Flowdock IRC Gateway
MIT License
76 stars 16 forks source link

Handle no active subscriptions #7

Closed arttu closed 12 years ago

tsilen commented 12 years ago

Doesn't this blow up if the http request returns any other response code than 200 or 401 (such as 500, 503 or 400)?

Maybe the error should default to true with a generic error message and be set false if the authentication is successful and there are valid subscriptions, or something?

arttu commented 12 years ago

Yep, I'll add an else block to catch all the other statuses too.