heroku / heroku.rb

DEPRECATED! Official Heroku Ruby Legacy API wrapper
161 stars 41 forks source link

Add custom exception when API rate limit is reached #51

Closed raulb closed 11 years ago

raulb commented 11 years ago

I ran into an issue this morning and I started catching the API exception when the rate limit is reached (status code = 429) and I thought it'd be nice to add this exception with the others:

Using it here in dashboard:

http://git.io/mdIgZA

raulb commented 11 years ago

What do you think @geemus ?

geemus commented 11 years ago

@raulb - sounds like a good plan. I don't think I've ever personally hit the limit so I perhaps haven't thought about it.

geemus commented 11 years ago

@raulb - Thanks!

raulb commented 11 years ago

@geemus Thanks to you!